Posts by KarasuEXE • 1 point
2 posts
-
0
votes1
answer34
viewsA: Parameterizing value to be Encrypted in Query SQL
The problem was solved by converting the parameterized value type. select email, password from Professor where email = ? and senha = hashbytes('sha1', convert(varchar, ?)) More details about the…
-
0
votes1
answer34
viewsQ: Parameterizing value to be Encrypted in Query SQL
Currently, the query query that returns results is as follows: SELECT nome, email, senha FROM Professor WHERE email = ? AND senha = HASHBYTES('SHA1','" + senha + "') p.setString(1, email); When…