-
Notifications
You must be signed in to change notification settings - Fork 555
Open
Description
Hi
I'm trying to use the library to encrypt/decrypt aes messages but when I try to decrypt a message I got the message of the title.
This is what I try to do:
var key = CryptoJS.enc.Base64.parse(password);
var decryptedData = CryptoJS.AES.decrypt( response.token, key, {
mode: CryptoJS.mode.ECB,
padding: CryptoJS.pad.Pkcs7
} );
This are the loaded libraries:
<script src="../../ext-libs/crypto/core-min.js"></script> <script src="../../ext-libs/crypto/aes.js"></script> <script src="../../ext-libs/crypto/cipher-core-min.js"></script> <script src="../../ext-libs/crypto/enc-base64-min.js"></script> <script src="../../ext-libs/crypto/pbkdf2.js"></script> <script src="../../ext-libs/crypto/enc-utf16-min.js"></script>Metadata
Metadata
Assignees
Labels
No labels