Friday, February 8, 2013

OpenSSL encryption libraries add a Salted__ header.

http://openssl.6102.n7.nabble.com/Decrypting-with-key-and-initialization-vector-don-t-decrypt-the-first-8-bytes-td10420.html

When you encrypted data with a password using openssl command line, the 
first 16 bytes of the output are actually a header of the form 
'Salted__XXXXXXXX' where the last 8 bytes represent the salt used to 
derive the key and the IV. 

2 comments:

  1. Thanks for the post, this really helped me understand "Salted__" header in one of my AES encrypted string.

    ReplyDelete
  2. Very useful information article. Thanks for sharing. Please Visit:
    website development dubai
    SMS Marketing UAE

    ReplyDelete