Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

openssl_pkcs7_encrypt(PKCS7_BINARY); how to decode after decryption?

Status
Not open for further replies.

RbgoWeb

Programmer
Apr 10, 2002
91
NL
Encryption en decryption using openssl_pkcs7_() functions goes well.
Only when openssl_pkcs7_encrypt() encrypts with the flag PKCS7_BINARY, the decrypted result after openssl_pkcs7_decrypt() is different and I don't know how to decode it into readable text, and parse the originial encrypted message.
base64_decode() only makes some things readable, I can see my original message somewhere among mostly unreadable data.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top