AES decrypt in postman

sample code:

Here we choose AES-256 to encrypt / decrypt the secure information. When using AES, the length of the secretKey is important. The length of secretKey in AES-128 is 16 bits, and in AES-256 is 32 bits.

And in our case, the length of secretKey is no enough. So we will use the function padding to fill in the missing length.

source: CSDN: AES解密,key长度不够16处理

This entry was posted in JavaScript, Postman. Bookmark the permalink.