SA-MP Forums Archive
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: Whirlpool (/showthread.php?tid=257896)



Whirlpool - Incognation - 28.05.2011

Hi,

I'm working on my login-system and I walked to a problem.
I use Whirlpool for encrypting the passwords, it works fine by registering but not by login.

In the login hash it puts a extra character to the hash.

Greetz,
Incognation.


Re: Whirlpool - KaleOtter - 28.05.2011

There are alot other encrypting functions. Try another one.

Example


Re: Whirlpool - shitbird - 28.05.2011

Or you fix it, by making make sure you've redefined
pawn Код:
MAX_INI_ENTRY_TEXT
to 129 characters. As by standard it only lets you add 128characters, which will make the encryption fail - as Whirlpool requires 129 characters.

Also, make sure your buffer arrays are set to 129 characters, no more, no less.


Re: Whirlpool - Incognation - 28.05.2011

Thank you! It worked for me