newbie crypto/coding query

New Message Reply About this list Date view Thread view Subject view Author view

Nicholas Charles Brawn (ncb05@uow.edu.au)
Tue, 19 May 1998 14:36:36 +1000 (EST)


I've been working on some simple file encryption/decryption programs
(using ssleay) recently and i have a few questions.

1. With a block cipher, when dealing with a binary file (or any file for
that matter), how do you deal with the remaining block if it's incomplete?

2. In the docs for ssleay, eric suggests using des_read_pw_string() to
obtain the plaintext key, then making a 16 byte hash of it using md5, then
sending it (in my case) to BF_set_key(). How is this better than simply
sending the plaintext key to BF_set_key()?

Any help, pointers, etc are appreciated.

Nick

--
Email: ncb05@uow.edu.au - DE 30 33 D3 16 91 C8 8D  A7 F8 70 03 B7 77 1A 2A	
http://rabble.uow.edu.au/~nick - public key available on request.
Nicholas Brawn - Computer Science Undergraduate, University of Wollongong.


New Message Reply About this list Date view Thread view Subject view Author view

 
All trademarks and copyrights are the property of their respective owners.

Other Directory Sites: SeekWonder | Directory Owners Forum

The following archive was created by hippie-mail 7.98617-22 on Fri Aug 21 1998 - 17:17:27 ADT