Re: Problems storing SHA1 Hash

2003-11-13 Thread Dan Nelson
In the last episode (Nov 13), Paride De Gasperis said: > 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', ' > % 3/4 > ÃX;Z^E(xB9Â?(?U?N~oSSE?$03Ã^O?#^1j?'U'YÃÃ??-#N

Re: Problems storing SHA1 Hash

2003-11-13 Thread Sturgeon, Jon
Paride De Gasperis wrote: > I have a problem storing an SHA1 hash generated as user password for > an application... I do the same thing (although not with a MySQL database) and I anticipated problems in storing the binary hash, so I chose to perform a simple Base64 encoding of the hash result fi

Problems storing SHA1 Hash

2003-11-13 Thread Paride De Gasperis
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ÇÔ?#