Page 1 of 1

password encryption

Posted: Mon Jun 28, 2010 3:42 pm
by baiumbg
How is the login password encrypted?

Re: password encryption

Posted: Mon Jun 28, 2010 3:58 pm
by jurchiks
base64

Re: password encryption

Posted: Mon Jun 28, 2010 7:04 pm
by baiumbg
It's not base64. I tried. But nevermind. I found the encryption. (utf8, sha1, pack, base64)

Re: password encryption

Posted: Tue Jun 29, 2010 11:41 am
by jurchiks
well ok, didn't look at the whole line:
base64_encode( pack( "H*", sha1( utf8_encode( $_POST[ "acc_pw"]))))