I wanted to build an awesome place for people to discuss module specific issues, but I don't have any more time for this, and there are much better places to discuss Perl-related issues. I'd recommend asking your question on Stack Overflow or on Perl Monks.
If you are looking for a Perl tutorial or Perl-related news, I hope these links will serve you well.
Posted on 2010-04-14 09:58:21.778631-07 by sminer
Decrypting with JavaScript
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
Direct Responses: Write a response