Fix encrypting keys using non-AES algorithms

This commit is contained in:
Daniel Huigens 2019-11-18 13:56:42 +01:00
parent afdacfad7d
commit 5bf0f96163

View File

@ -45,7 +45,7 @@ export default {
const block_size = cipherfn.blockSize;
let blocki = new Uint8Array(block_size);
const blockc = iv;
const blockc = iv.slice();
let pos = 0;
const ciphertext = new Uint8Array(plaintext.length);
let i;