mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-24 09:25:15 +00:00
19 lines
364 B
JavaScript
19 lines
364 B
JavaScript
|
var modeModules = {
|
||
|
ECB: require('./ecb'),
|
||
|
CBC: require('./cbc'),
|
||
|
CFB: require('./cfb'),
|
||
|
CFB8: require('./cfb8'),
|
||
|
CFB1: require('./cfb1'),
|
||
|
OFB: require('./ofb'),
|
||
|
CTR: require('./ctr'),
|
||
|
GCM: require('./ctr')
|
||
|
}
|
||
|
|
||
|
var modes = require('./list.json')
|
||
|
|
||
|
for (var key in modes) {
|
||
|
modes[key].module = modeModules[modes[key].mode]
|
||
|
}
|
||
|
|
||
|
module.exports = modes
|