'Generating different checksum second time using AES algorithm in spring boot
I am trying to generate encrypted value which should be different every second time.My payload is something like this { "name":"abc", "password":"23" } I want different encrypted value every second time what I can do to achieve this whenever I hit my API
Solution 1:[1]
Use an initialization vector. Here's an example: https://www.baeldung.com/java-encryption-iv
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Matei Macoveiciuc |
