browserify-aes
Advanced tools
Comparing version 0.2.2 to 0.3.0
17
index.js
var crypto = require('crypto'); | ||
exports.__browserify = function (crypto, exports) { | ||
exports = exports || {}; | ||
var ciphers = require('./encrypter')(crypto); | ||
exports.createCipher = ciphers.createCipher; | ||
exports.createCipheriv = ciphers.createCipheriv; | ||
var deciphers = require('./decrypter')(crypto); | ||
exports.createDecipher = deciphers.createDecipher; | ||
exports.createDecipheriv = deciphers.createDecipheriv; | ||
var modes = require('./modes'); | ||
function listCiphers () { | ||
return Object.keys(modes); | ||
} | ||
exports.listCiphers = listCiphers; | ||
}; | ||
exports.__browserify(crypto, module.exports); | ||
exports.__browserify = require('./inject') | ||
exports.__browserify(crypto, module.exports); |
{ | ||
"name": "browserify-aes", | ||
"version": "0.2.2", | ||
"version": "0.3.0", | ||
"description": "aes, for browserify", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
283610
20
2082