Throw error when trying to use IDEA cipher
This commit is contained in:
parent
22e4540ed9
commit
105ec06da3
|
@ -18,7 +18,11 @@ module.exports = {
|
||||||
/** @see module:crypto/cipher/twofish */
|
/** @see module:crypto/cipher/twofish */
|
||||||
twofish: require('./twofish.js'),
|
twofish: require('./twofish.js'),
|
||||||
/** @see module:crypto/cipher/blowfish */
|
/** @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');
|
var aes = require('./aes.js');
|
||||||
|
|
Loading…
Reference in New Issue
Block a user