Sunday, September 16, 2018
A helper Node module for the Encryptamajig helper library
I recently had to work with a value encrypted using the Encryptamajig helper library. The value needed to be decrypted in NodeJS using CryptoJS. I ran into several gotchas while replicating the decryption logic in [1] and created a simple node module to help others. The post here [2] helped immensely in determining how to generate the IV and Key.
You can find the encryptamajig-helper module here [3]. I will update this post once I finish the encrypt method.
References
[1] https://github.com/jbubriski/Encryptamajig
[2] https://stackoverflow.com/questions/29807108/derive-key-and-iv-from-string-for-aes-encryption-in-cryptojs-and-php
[3] https://github.com/splinter/encryptamajig-helper
Subscribe to:
Posts (Atom)