Projekt

Obecné

Profil

Stáhnout (500 Bajtů) Statistiky
| Větev: | Revize:
1
var ciphers = require('./encrypter')
2
var deciphers = require('./decrypter')
3
var modes = require('./modes/list.json')
4

    
5
function getCiphers () {
6
  return Object.keys(modes)
7
}
8

    
9
exports.createCipher = exports.Cipher = ciphers.createCipher
10
exports.createCipheriv = exports.Cipheriv = ciphers.createCipheriv
11
exports.createDecipher = exports.Decipher = deciphers.createDecipher
12
exports.createDecipheriv = exports.Decipheriv = deciphers.createDecipheriv
13
exports.listCiphers = exports.getCiphers = getCiphers
(6-6/13)