Good  Day All,

I would like someone to please clarify this for me as I am new to using 
crypto ++. The examples code in test.cpp provides the function 
EncryptFile(const char *in, const char *out, const char *passPhrase) to 
encrypt a file. What I need clarification for is the relationship between 
the passPhrase and the encryption key for 3DES. Are they exactly the same.

For example, I encrypted a file using crypto++ with a passPhrase 
"ABCDEFGHABCDEFGHABCDEFGH" and decrypted on a different 
platform/application with an key as "ABCDEFGHABCDEFGHABCDEFGH" (exactly the 
same as the passPhrase) but could not recover the file in its original 
format. Is their something else I need to do to derive or generate the key 
from the passphrase?

Thanks in advance.

-- 
-- 
You received this message because you are subscribed to the "Crypto++ Users" 
Google Group.
To unsubscribe, send an email to [email protected].
More information about Crypto++ and this group is available at 
http://www.cryptopp.com.
--- 
You received this message because you are subscribed to the Google Groups 
"Crypto++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to