Ken Jones <[EMAIL PROTECTED]> writes:

> I don't remember exactly, but there is a function in mysql SQL
> that allows you to create a unix compatible MD5 password
> from the clear text. 
>>From mysql documentation:
> ENCRYPT(str[,salt]) 
> Encrypt str using the Unix crypt() system call. The salt argument should be
> a string with two characters. (As of MySQL Version 3.22.16, salt may be
> longer than two characters.)
> mysql> SELECT ENCRYPT("hello");
>         -> 'VxuFAJXVARROc'

This is not an MD5 encrypted string, rather DES.  MD5 salts and strings begin
with $1$.

- Erik

Reply via email to