Node.js implementation of the ColdFusion
This will allow you to encrypt and decrypt strings using the CFMX_COMPAT
This module applies the same encoding and decoding behaviours as ColdFusion.
Translated from here.
npm install -g cf-encrypt
The following examples show you how to use cf-encrypt.
var encrypt = ;// encrypt somethingvar encrypted = encrypt;// '(48YW\1+-6*H \n'// decrypt somethingvar decrypted = encrypt;// 'hello node'var decrypted = encrypt;// something a bit more realistic
$ npm test
Prior to 1.0.0 the
decrypt() signatures were
key, text. They
have since been updated to
text, key to match ColdFusion.