{"_id":"cf-encrypt","_rev":"34-171a1baaf980e9d1501767701b7d62fa","name":"cf-encrypt","description":"Node.js implementation of the ColdFusion encrypt() and decrypt() functions.","dist-tags":{"latest":"1.0.0"},"versions":{"0.0.1":{"name":"cf-encrypt","description":"Node.js implementation of the ColdFusion encrypt() and decrypt() functions.","version":"0.0.1","author":{"name":"Zac Barton"},"scripts":{},"repository":{"type":"git","url":"https://github.com/zacbarton/node-cf-encrypt"},"dependencies":{"uuencode":"*"},"keywords":["cf","cfmx","coldfusion","encrypt","decrypt","CFMX_COMPAT"],"_id":"cf-encrypt@0.0.1","dist":{"shasum":"7806b23c59d363ac55cc52eb018001fd756b5343","tarball":"https://registry.npmjs.org/cf-encrypt/-/cf-encrypt-0.0.1.tgz","integrity":"sha512-mnxWstugTzmAjGQ+lTWSP0cdj+IAIZHrgWRLqLM/uxmbsItiH9/WXU8qOZgA5ZMc5JNIi1MVxUSB+0htuUh4hQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCnxbKHnhf+SbaMJg3x2wHD7J/jXOiaYMD0y0govydGAgIhANGu8hRWp/tUkl+rqvnXxwX3jyP/+umQfSsfdebLe2dT"}]},"_from":"./cf-encrypt","_npmVersion":"1.2.18","_npmUser":{"name":"zacbarton","email":"zacbarton@gmail.com"},"maintainers":[{"name":"zacbarton","email":"zacbarton@gmail.com"}]},"0.0.2":{"name":"cf-encrypt","description":"Node.js implementation of the ColdFusion encrypt() and decrypt() functions.","version":"0.0.2","author":{"name":"Zac Barton"},"scripts":{},"repository":{"type":"git","url":"https://github.com/zacbarton/node-cf-encrypt"},"dependencies":{"uuencode":"*"},"keywords":["cf","cfmx","coldfusion","encrypt","decrypt","CFMX_COMPAT"],"_id":"cf-encrypt@0.0.2","dist":{"shasum":"5763e8b9f08561ce5d69d33008be0acb7c6902cc","tarball":"https://registry.npmjs.org/cf-encrypt/-/cf-encrypt-0.0.2.tgz","integrity":"sha512-vioKvy5JAfDdTR/49aLzjUVV1zT1XuYKQ4iSZJUAuMOHHBgbl53miEpKu76L8ZOsH687KlvtWz+VoyOKIH6lgg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC6XUdR9Km6bz8+6/jCda2BXOtlAJMn6l08Rk+yJfKlZQIgK23Awmv/G5M4Ey73TIzmUDdGz2adYX7iTQFLFvy+cAs="}]},"_from":"./cf-encrypt","_npmVersion":"1.2.18","_npmUser":{"name":"zacbarton","email":"zacbarton@gmail.com"},"maintainers":[{"name":"zacbarton","email":"zacbarton@gmail.com"}]},"0.0.4":{"name":"cf-encrypt","description":"Node.js implementation of the ColdFusion encrypt() and decrypt() functions.","version":"0.0.4","author":{"name":"Zac Barton"},"scripts":{"test":"make test"},"repository":{"type":"git","url":"https://github.com/zacbarton/node-cf-encrypt"},"dependencies":{"uuencode":"*"},"devDependencies":{"mocha":"*","should":"*"},"keywords":["cf","cfmx","coldfusion","encrypt","decrypt","CFMX_COMPAT"],"_id":"cf-encrypt@0.0.4","dist":{"shasum":"d739042e46cb2f3e5d2550f277b26ad382a48256","tarball":"https://registry.npmjs.org/cf-encrypt/-/cf-encrypt-0.0.4.tgz","integrity":"sha512-oxYWvI3AvigwwgXNp12hV0y0TwERoEW0fu0LjDWArCqSr2Mg+ZCfMh7V3+1McksxbcYvVcPubzuCCTA0Uh2s5w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGD0G31W6Fcd92D0ThiPNQmnkfAAHCnER0ZlR1oLfRuiAiEAnkX4oWR4NBThXKjSpbGSopAeUJIMTXhlFmL9LipG6+E="}]},"_from":".","_npmVersion":"1.2.18","_npmUser":{"name":"zacbarton","email":"zacbarton@gmail.com"},"maintainers":[{"name":"zacbarton","email":"zacbarton@gmail.com"}]},"0.0.5":{"name":"cf-encrypt","description":"Node.js implementation of the ColdFusion encrypt() and decrypt() functions.","version":"0.0.5","author":{"name":"Zac Barton"},"scripts":{"test":"make test"},"repository":{"type":"git","url":"https://github.com/zacbarton/node-cf-encrypt"},"dependencies":{"uuencode":"0.0.1"},"devDependencies":{"mocha":"2.1.0","should":"5.0.1"},"keywords":["cf","cfmx","coldfusion","encrypt","decrypt","CFMX_COMPAT"],"gitHead":"3cc70cda5243fef2a31c75aa8aa9682cc397eddc","bugs":{"url":"https://github.com/zacbarton/node-cf-encrypt/issues"},"homepage":"https://github.com/zacbarton/node-cf-encrypt","_id":"cf-encrypt@0.0.5","_shasum":"182f7f827e5d1b09c43f770b18bc26be18dc225d","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"zacbarton","email":"zacbarton@gmail.com"},"maintainers":[{"name":"zacbarton","email":"zacbarton@gmail.com"}],"dist":{"shasum":"182f7f827e5d1b09c43f770b18bc26be18dc225d","tarball":"https://registry.npmjs.org/cf-encrypt/-/cf-encrypt-0.0.5.tgz","integrity":"sha512-yha2JfBJw85nj0vh/lyeD9OoQWnw+QhmY/0yRs+/r7iCpZgdSfKY/5Z3swM4+Q5ogoNjpvFDDljfBJus7HK36g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGRfnnHVKceelwxtKMLemrPU1v6b0uCyADLjUVR+ih+BAiBfxD0pPdOh++otCwlFGaBV9uH5IyByY6Y68FU8QJr+sg=="}]}},"1.0.0":{"name":"cf-encrypt","description":"Node.js implementation of the ColdFusion encrypt() and decrypt() functions.","version":"1.0.0","author":{"name":"Zac Barton"},"scripts":{"test":"make test"},"repository":{"type":"git","url":"https://github.com/zacbarton/node-cf-encrypt"},"dependencies":{"uuencode":"0.0.3"},"devDependencies":{"mocha":"2.1.0","should":"5.0.1"},"keywords":["cf","cfmx","coldfusion","encrypt","decrypt","CFMX_COMPAT"],"gitHead":"47342e1cefe695066a125df1fbd6348b106b126c","bugs":{"url":"https://github.com/zacbarton/node-cf-encrypt/issues"},"_id":"cf-encrypt@1.0.0","_shasum":"d032ee65333d47a4e308944ae21d2299fa637916","_from":".","_npmVersion":"1.4.21","_npmUser":{"name":"zacbarton","email":"zacbarton@gmail.com"},"maintainers":[{"name":"zacbarton","email":"zacbarton@gmail.com"}],"dist":{"shasum":"d032ee65333d47a4e308944ae21d2299fa637916","tarball":"https://registry.npmjs.org/cf-encrypt/-/cf-encrypt-1.0.0.tgz","integrity":"sha512-pXwFSC8QJtoofcRjVNT8Uzds6StCeX2XIMIOFHqRYJWZuuMAeNbKEWF4FMtnepxfS+UpddDyIxMRiw6pAWerTA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG5glkxVJyD3F7RMOj1BJZdUdTDcLfLH1hqc/Fr1Q//xAiAXmo1KY1Xll0b47hnUtdsUbbupfQPpWpqrG3OH4qSJaw=="}]}}},"readme":"cf-encrypt\n========\n\nNode.js implementation of the ColdFusion `encrypt()` and `decrypt()` functions.\nThis will allow you to encrypt and decrypt strings using the CFMX_COMPAT\nalgorithm.\n\nThis module applies the same encoding and decoding behaviours as ColdFusion.\n\n- Base64: the Base64 algorithm, as specified by IETF RFC 2045.\n- Hex: the characters A-F0-9 represent the hexadecimal byte values.\n- UU: the UUEncode algorithm (DEFAULT).\n\nTranslated from [here](https://github.com/globaldev/cfmx_compat).\n\nInstallation\n--------\n\n    npm install -g cf-encrypt\n\n\nExamples\n--------\n\nThe following examples show you how to use cf-encrypt.\n\n```javascript\nvar encrypt = require('cf-encrypt');\n\n// encrypt something\nvar encrypted = encrypt.encrypt('hello cf', 'secretkey', 'uu');\n// '(48YW\\1+-6*H \\n'\n\n// decrypt something\nvar decrypted = encrypt.decrypt('518E77F112CD55A3FD5C', 'secretkey', 'hex');\n// 'hello node'\n\nvar decrypted = encrypt.decrypt('de2j+4tUt4KYV1pTBY+5x6K0X1YTzoOMdxSMmbXP', '9)qkg4[0yK*wC58D46:!rYc=h>9<)Q', 'base64');\n// something a bit more realistic\n```\n\nRunning Tests\n----\n\n    $ npm test\n\nBreaking Changes\n--------\nPrior to 1.0.0 the `encrypt()` and `decrypt()` signatures were `key, text`. They\nhave since been updated to `text, key` to match ColdFusion.\n","maintainers":[{"name":"zacbarton","email":"zacbarton@gmail.com"}],"time":{"modified":"2022-06-13T05:49:31.694Z","created":"2014-02-18T12:03:51.140Z","0.0.1":"2014-02-18T12:03:55.992Z","0.0.2":"2014-02-18T12:10:09.779Z","0.0.4":"2014-03-08T03:14:22.669Z","0.0.5":"2015-02-25T23:04:14.071Z","1.0.0":"2015-04-21T09:47:19.937Z"},"readmeFilename":"README.md","author":{"name":"Zac Barton"},"repository":{"type":"git","url":"https://github.com/zacbarton/node-cf-encrypt"},"keywords":["cf","cfmx","coldfusion","encrypt","decrypt","CFMX_COMPAT"],"bugs":{"url":"https://github.com/zacbarton/node-cf-encrypt/issues"}}