not getting aes256 #935
saikrishnaskillbanc
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Describe the bug
Reproduce
Steps to reproduce:
// let iv = AES.blockSize.words
while passing final result i am unable to access the server please let me know i am going wrong
while in java they given code is to encript logic is
Algorithm : AES
Key Size : 256
Key : personalKey
encryptData(msg:any) {
var keySize = 256;
var salt = CryptoJS.lib.WordArray.random(16);
var key = CryptoJS.PBKDF2(Constant.encryptDecryptKey, salt, {
keySize: keySize / 32,
iterations: 100
});
Beta Was this translation helpful? Give feedback.
All reactions