[cs631apue] SHA1 message digest

Jan Schaumann jschauma at stevens.edu
Fri Dec 2 22:39:39 EST 2016


mseaton <mseaton at stevens.edu> wrote:

> What does "You should use SHA1 as a message digest function for 
> generating the key" mean?

You should use AES256-CBC with a SHA1 digest, using key material derived
from the passphrase in question.  That is, when calling
EVP_BytesToKey(3), you need to specify AES256-CBC as the cipher, and
SHA1 as the digest algorithm.

-Jan


More information about the cs631apue mailing list