e-lado
Version:
[](https://circleci.com/gh/sharetribe/sharetribe/tree/master) [](https://gemnasium.com/sharetribe/shar
16 lines (14 loc) • 517 B
JavaScript
module.exports = 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;
};