Hi. I am using JDBC preparedstatement and this is my preparedstatement
"CALL HASH('SHA256', ?, 1000)".On Mar 7, 10:08 am, Thotheolh <[email protected]> wrote: > Hi. I wanted to hash a password in SHA for encryption. I used the sql > statement for calling of hash to hash my password. I noticed that the > hash kept changing despite the password I use is the same which causes > a problem for my encryption since I use the hashed value of the > password for the AES encryption sql statement. > > Is there some random generator in the SHA which causes the hash value > to change whenever I create a new instance of the program ? -- You received this message because you are subscribed to the Google Groups "H2 Database" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/h2-database?hl=en.
