var sidebar_align = 'right';
var content_container_margin = parseInt('290px');
var sidebar_width = parseInt('270px');
Unanswered: crypt(), md5, bf, and others algorithmic
Hello, I have a logical problema with MD5/bf,ecc.. algorithmic.
I need to store a password into bf or md5 algorhitmic.
UPDATE table SET field = crypt('value', gen_salt('md5'));
Than I need to extract a Username AND Password.
But the count returns 0.
SELECT COUNT(accounts.account_id) AS account_count
WHERE accounts.account_username = 'username'
AND accounts.account_password = crypt('value', gen_salt('md5'))
Now... where is the problem?
Last edited by vhost87; 03-05-10 at 15:31.
Did you read the manual? You can't keep sending in different values as salt and hope to get the same answer.
Yes, but the example into manual si very limited
Originally Posted by artacus72