mirror of
https://github.com/openpgpjs/openpgpjs.git
synced 2026-03-03 16:00:26 +00:00
Throw error when trying to use IDEA cipher
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user