mirror of
https://github.com/openpgpjs/openpgpjs.git
synced 2026-03-12 11:39:23 +00:00
Switches to asmcrypto-lite for AES
This commit is contained in:
committed by
Sanjana Rajan
parent
be2c605e5b
commit
aba8a7a647
File diff suppressed because it is too large
Load Diff
@@ -8,7 +8,7 @@
|
||||
|
||||
'use strict';
|
||||
|
||||
import aes from'./aes.js';
|
||||
import aes from './aes.js';
|
||||
import desModule from './des.js';
|
||||
import cast5 from './cast5.js';
|
||||
import twofish from './twofish.js';
|
||||
@@ -16,9 +16,9 @@ import blowfish from './blowfish.js';
|
||||
|
||||
export default {
|
||||
/** @see module:crypto/cipher/aes */
|
||||
aes128: aes[128],
|
||||
aes192: aes[192],
|
||||
aes256: aes[256],
|
||||
aes128: aes(128),
|
||||
aes192: aes(192),
|
||||
aes256: aes(256),
|
||||
/** @see module:crypto/cipher/des.originalDes */
|
||||
des: desModule.originalDes,
|
||||
/** @see module:crypto/cipher/des.des */
|
||||
@@ -33,4 +33,4 @@ export default {
|
||||
idea: function() {
|
||||
throw new Error('IDEA symmetric-key algorithm not implemented');
|
||||
}
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user