Please, run the B4J project attached. Try Test routine and then DBTest (comment/uncomment the lines).
I'm trying to store a Base64 string, which is the result of a text encryption, and retrieve it "later".
In the Test routine everything works as expected, in the DBTest routine every time the same text is crypted the return value is different.
If this was caused by Salt and IV it should also do so in the Test routine.
How to solve?
I'm trying to store a Base64 string, which is the result of a text encryption, and retrieve it "later".
In the Test routine everything works as expected, in the DBTest routine every time the same text is crypted the return value is different.
If this was caused by Salt and IV it should also do so in the Test routine.
How to solve?