1 | var ciphers = require('./encrypter')
|
2 | exports.createCipher = exports.Cipher = ciphers.createCipher
|
3 | exports.createCipheriv = exports.Cipheriv = ciphers.createCipheriv
|
4 | var deciphers = require('./decrypter')
|
5 | exports.createDecipher = exports.Decipher = deciphers.createDecipher
|
6 | exports.createDecipheriv = exports.Decipheriv = deciphers.createDecipheriv
|
7 | var modes = require('./modes')
|
8 | function getCiphers () {
|
9 | return Object.keys(modes)
|
10 | }
|
11 | exports.listCiphers = exports.getCiphers = getCiphers
|