Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
AES encrypt also allows word arrays (#27569)
the following code will execute fine, but typescript doesn't recognize it as valid var input = CryptoJS.lib.WordArray.create(new Uint8Array(5)); var encrypted = CryptoJS.AES.encrypt(input, secretKeyString, { iv: CryptoJS.enc.Hex.parse('00000000000000000000000000000000'), mode: CryptoJS.mode.CBC, padding: CryptoJS.pad.Pkcs7 });
- Loading branch information