On 07/21/2010 02:35 PM Thanos Chatziathanassiou wrote:
> Correct. Should be fairly easy to do - just need a compatible crypt() 
> function in SQL. Never thought of that.

MySQL's encrypt() is your friend:
select encrypt('foo', 'ab');
select encrypt('foo', '$1$01234567');
select encrypt('foo', '$5$rounds=1000$0123456789abcdef');
select encrypt('foo', '$6$rounds=1000$0123456789abcdef');


Regards,
Pascal
-- 
The trapper recommends today:
        http://kopfkrebs.de/mitarbeiter/mitarbeiter_der_woche.html

Reply via email to