How to convert passphrase to AES256 key?
My plan is to convert a passphrase in UTF-8 ASCII-US to Unit8Array(32) then use it in:
256bitsKey = Unit8Array(32) from passphase
iv = window.crypto.getRandomValues(new Uint8Array(32));
CryptoJS.enc.encrypt(data, 256bitsKey , {iv: iv});
… Continue reading How to convert passphrase to AES256 key?