SA-MP Forums Archive
Encrytping MD5 using Whirlpool? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Encrytping MD5 using Whirlpool? (/showthread.php?tid=183138)



Encrytping MD5 using Whirlpool? - M3ntaL - 14.10.2010

Is there any way to encrypt MD5 with Whirlpool ?

I've figured that out on PHP , but cant find a way to do it with pawno...
Using MD5() with INSERT wont work, it wont whirlpool hash it, it just MD5 hashes...

Example:
Код:
format(Query, sizeof(Query), "INSERT INTO `Accounts` (Username, Password) VALUES('%s', MD5('%s'))", EscapedName, buf);
and

Код:
WP_Hash(buf, sizeof (buf), MD5_Hash(inputtext));
This just wont work..
Any ideas ?


Re: Encrytping MD5 using Whirlpool? - Lenny the Cup - 14.10.2010

why would you want to double-encrypt passwords? One encryption is well enough.


Re: Encrytping MD5 using Whirlpool? - Calgon - 14.10.2010

Whirlpool can't be cracked. You really don't need to use MD5 in combination with Whirlpool.


Re: Encrytping MD5 using Whirlpool? - M3ntaL - 14.10.2010

I know that, but too much security wont harm.


Re: Encrytping MD5 using Whirlpool? - DeathOnaStick - 14.10.2010

Quote:
Originally Posted by M3ntaL
Посмотреть сообщение
I know that, but too much security wont harm.
There is no 'more' security than wp_hash. It's the maximum security you can have, when crypting a file. There is no use to use md5 in combination, cuz md5 can be encrypted.


Re: Encrytping MD5 using Whirlpool? - Calgon - 14.10.2010

Actually it will, you're 'harming' the script by slowing down execution time by calling 2 cryptography algorithms, one redundant and one good.


Re: Encrytping MD5 using Whirlpool? - M3ntaL - 14.10.2010

It is possible somehow, I just have not figured it out yet. The cracking of Whirlpool is just a matter of time. It CAN be cracked eventually.


Re: Encrytping MD5 using Whirlpool? - Calgon - 14.10.2010

Quote:
Originally Posted by M3ntaL
Посмотреть сообщение
It is possible somehow, I just have not figured it out yet. The cracking of Whirlpool is just a matter of time. It CAN be cracked eventually.
Have fun with that, when you can't even figure out how to fix this issue.


Re: Encrytping MD5 using Whirlpool? - legodude - 14.10.2010

omg for this time im with calgon :O

whirpool is good enuf


Re: Encrytping MD5 using Whirlpool? - M3ntaL - 14.10.2010

Lmao, problem fixed... No need to continue spamming.