Furthermore, why when it is decrypting does it appear to be overwritting with
these characters

  <?xml version="1.0" encoding="UTF-8" ?> 


MusicAndy wrote:
> 
> So Steve, do I strip out the "salted__" characters plus the following 8
> bits?
> 
> Dr. Stephen Henson wrote:
>> 
>> On Tue, Aug 11, 2009, MusicAndy wrote:
>> 
>>> 
>>> Hi folks.  Well almost got things to work the way i want to :jumping:
>>> 
>>> One more question.  The salt format of a file in DES3.
>>> 
>>> I notice that the file that has been encrypted with the use of salt has
>>> Salted__ followed by bytes of data.
>>> If i read this from a stream, do i strip the Salted__ part off and then
>>> read
>>> the next 8 bytes of data as the salt encryption?
>>> 
>> 
>> Well it's a salt value. You pass that to EVP_BytesToKey(). The data
>> following
>> the salt is the encrypted stream so you pass that to EVP_DecryptUpdate()
>> or
>> similar.
>> 
>> Steve.
>> --
>> Dr Stephen N. Henson. OpenSSL project core developer.
>> Commercial tech support now available see: http://www.openssl.org
>> ______________________________________________________________________
>> OpenSSL Project                                 http://www.openssl.org
>> User Support Mailing List                    [email protected]
>> Automated List Manager                           [email protected]
>> 
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Des3-and-the-salt-option-tp24914436p24916803.html
Sent from the OpenSSL - User mailing list archive at Nabble.com.

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [email protected]
Automated List Manager                           [email protected]

Reply via email to