Does the openssl command line do key strengthening?

Posted by chotchki on Stack Overflow See other posts from Stack Overflow or by chotchki
Published on 2010-06-09T18:42:46Z Indexed on 2010/06/09 20:02 UTC
Read the original article Hit count: 265

Filed under:
|

If I run the openssl command line in hmac mode (as below), is the key used for the hmac used directly or is it hashed before using it as the key?

echo "foo" | openssl dgst -sha256 -binary -hmac "test" | openssl base64

Similarly, when encrypting a file with openssl (as below)is the pass phrase hashed with the salt? (If so how is it done? A pointer to the right source file would be even better.)

openssl enc -salt

© Stack Overflow or respective owner

Related posts about cryptography

Related posts about openssl