You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

browser.js 500B

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