entronad / crypto-es

A cryptography algorithms library
Other
279 stars 31 forks source link

TripleDES decryption compatibility issues with CryptoJS #46

Open Jurkovic opened 11 months ago

Jurkovic commented 11 months ago

Hi, we would like to update from CryptoJS to CryptoES but unfortunately we got compatibility issue with TripleDES decryption. Text that was encrypted with CryptoJS can not be decrypted with CryptoES. I've created two stackblitz examples that demonstrates problem.

CryptoJS (4.2.0) TripleDES encryption: stackblitz

CryptoES (2.1.0) TripleDES decryption (with ciphertext from previous stackblitz) stackblitz

I've looked to some other similar issues and something tells me this might be a configuration issue (wrong keySize, or blockSize...), but I don't really know how to change these settings or if it's completely other issue.

PavolSvidran commented 10 months ago

I got the same issues, any progress?