OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Problems storing SHA1 Hash

From: Paride De Gasperis (pardegatin.it)
Date: Thu Nov 13 2003 - 15:29:13 CST


Hello all,
I have a problem storing an SHA1 hash generated as user password for an application...
This is the original SELECT Command:
INSERT INTO Auth$ VALUES ('System', '%¾ÿX;ZÊ(×B9ª?(?U?Nõ§E?$03ÇÔ?#¹j?ÚÝùÿ??-#NÂ?·¨Ùü½î[.6?þþ^?', 3)
but the stored values are:
%¾ÿX;ZÊ(×B9ª?(?U?Nõ§E?$03ÇÔ?#¹j?ÚÝùÿ??-#NÂ?·¨Ùü½î[.6?þþ^?
this differes from the original in some characters and the password check fails...
I've tryed changing the table field in some ways but TEXT, BLOB, VARCHAR settings produces the same results...
Why?!?!? Anyone can help me?!?!

Thanks a lot for help...

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql