Php encrypt function is like I have no idea how to decrypt this in js. I’m currently using CryptoJs. The most confusing part is the iv and base64_decode($key). My current implementation in js is like below I’m so confuse with iv key and decoding the key in base64. Answer The problem is key. It wil…
Tag: cryptojs
Crypto.js decrypt with key and iv (vector) in byte arrays
I have to decrypt some strings which are AES encrypted. Example encrypted string: 129212143036071008133136215105140171136216244116 I have a key, and a vector (iv) supplied to me in a byte-array format: Key: [ 123, 217, 20, 11, 24, 26, 85, 45, 114, 184, 27, 162, 37, 115, 222, 209, 241, 24, 175, 144, 175, 53, 1…