mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-25 01:45:15 +00:00
14 lines
500 B
JavaScript
14 lines
500 B
JavaScript
var ciphers = require('./encrypter')
|
|
var deciphers = require('./decrypter')
|
|
var modes = require('./modes/list.json')
|
|
|
|
function getCiphers () {
|
|
return Object.keys(modes)
|
|
}
|
|
|
|
exports.createCipher = exports.Cipher = ciphers.createCipher
|
|
exports.createCipheriv = exports.Cipheriv = ciphers.createCipheriv
|
|
exports.createDecipher = exports.Decipher = deciphers.createDecipher
|
|
exports.createDecipheriv = exports.Decipheriv = deciphers.createDecipheriv
|
|
exports.listCiphers = exports.getCiphers = getCiphers
|