http://www.perlmonks.org?node_id=1067529


in reply to Re: Add PKCS#7 padding
in thread Add PKCS#7 padding

A .net server is doing the decrypting and it specifies that it must be pkcs#7. I understand there should be no difference, and my program can decrypt my string and the .net string, however .net can not. Probably doesn't mean anything but here are the two encrypted strings.

.net with pkcs#7 - Toi0YpovwX79oXK105RzcH28XjJoxy8Y2q+R1LHyNiw=

perl with pkcs#5 - KBjT88Hk9MBtacub+xT54g==

both of these decrypt to the same string.

If I'm wrong please let me know.

I appreciate your help Chris