MarkusR Well-Known Member Licensed User Longtime User Aug 12, 2018 #1 hello, is it possible that .Encrypt always generate a new byte array sequence with same given password argument? that would mean if me test a login password the compare with .Decrypt make the stored password temporary readable.
hello, is it possible that .Encrypt always generate a new byte array sequence with same given password argument? that would mean if me test a login password the compare with .Decrypt make the stored password temporary readable.
Erel B4X founder Staff member Licensed User Longtime User Aug 13, 2018 #2 MarkusR said: is it possible that .Encrypt always generate a new byte array sequence with same given password argument? Click to expand... Yes. It uses a random salt. If you decrypt it then you will get the correct value. It is better to use hashes for password validation. Upvote 0
MarkusR said: is it possible that .Encrypt always generate a new byte array sequence with same given password argument? Click to expand... Yes. It uses a random salt. If you decrypt it then you will get the correct value. It is better to use hashes for password validation.