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.

index.js 364B

123456789101112131415161718
  1. var modeModules = {
  2. ECB: require('./ecb'),
  3. CBC: require('./cbc'),
  4. CFB: require('./cfb'),
  5. CFB8: require('./cfb8'),
  6. CFB1: require('./cfb1'),
  7. OFB: require('./ofb'),
  8. CTR: require('./ctr'),
  9. GCM: require('./ctr')
  10. }
  11. var modes = require('./list.json')
  12. for (var key in modes) {
  13. modes[key].module = modeModules[modes[key].mode]
  14. }
  15. module.exports = modes