您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

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