Hi,
I want to use AES to encrypt data in Perl and then decrypt it in JavaScript. I'm using Crypt::Rijndael for encryption in Perl, but I am having trouble finding a JavaScript library which works for decryption. I've tried
Gibberish and
JavaScrypt, as well as
another direct implementation of AES in JavaScript, but none of these seem to work. The JS libraries seem add some additional logic (i.e. ciphering the encryption/decryption password, embedding a nonce in the data to be encrypted) which doesn't appear to occur in Crypt::Rijndael. I'm wondering if this is the problem.
Can you recommend a JavaScript library to use with Crypt::Rijndael, or give any ideas as to how to use one the above libraries "appropriately" with it?
Thanks.
- Simon