mirror of
https://github.com/openpgpjs/openpgpjs.git
synced 2025-06-06 22:26:46 +00:00
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 */
|
||||
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');
|
||||
|
Loading…
x
Reference in New Issue
Block a user