Throw error when trying to use IDEA cipher

This commit is contained in:
Thomas Oberndörfer 2014-03-18 18:42:52 +01:00
parent 22e4540ed9
commit 105ec06da3

View File

@ -18,7 +18,11 @@ module.exports = {
/** @see module:crypto/cipher/twofish */
twofish: require('./twofish.js'),
/** @see module:crypto/cipher/blowfish */
blowfish: require('./blowfish.js')
blowfish: require('./blowfish.js'),
/** Not implemented */
idea: function() {
throw new Error('IDEA symmetric-key algorithm not implemented');
}
};
var aes = require('./aes.js');