For a Better Password -
Amunra - 02.06.2016
I Want to using Y_Ini for My Gamemode ...
So I Want to store the Password and Get a Password Is Corret or Not at OnPlayerConnect ....
So the Better I Use ... WP_Hash (
Whirlpool) or udb_Hash (
Dracoblue) ?
Thanks Before..
Re: For a Better Password -
Deroxi - 02.06.2016
If fully your choice. If you'd ask me: Whirlpool
Re: For a Better Password -
Chilli9434 - 02.06.2016
Whirlpool and use a random salt for the best security in my opinion. Great tutorial here if needed:
https://sampforum.blast.hk/showthread.php?tid=350664
Re: For a Better Password -
Amunra - 02.06.2016
Quote:
Originally Posted by Deroxi
If fully your choice. If you'd ask me: Whirlpool
|
Yeah , Maybe the Accurate is High !!
I Doubt with this choice ... so i ask SA-MP
Re: For a Better Password -
Amunra - 02.06.2016
Quote:
Originally Posted by Chilli9434
|
Agree.. I have thought about it
And Thanks for the Link and your Opinion xD ..
Re: For a Better Password -
Vince - 02.06.2016
Udb_hash is NOT a hashing algorithm and utter crap. I think you could've deducted that yourself by the fact that the udb_hash function (a.k.a. Adler32 checksum algorithm) is about ten lines long while Whirlpool requires an entire plugin to function. Personally I would now go for the inbuilt
SHA256_PassHash.
Re: For a Better Password -
Amunra - 02.06.2016
Quote:
Originally Posted by Vince
Udb_hash is NOT a hashing algorithm and utter crap. I think you could've deducted that yourself by the fact that the udb_hash function (a.k.a. Adler32 checksum algorithm) is about ten lines long while Whirlpool requires an entire plugin to function. Personally I would now go for the inbuilt SHA256_PassHash.
|
I Need an Example for this..
I Never use this code before ..
Re: For a Better Password -
Amunra - 02.06.2016
Anyone ?
I Need a simple Example for using this Function
Re: For a Better Password -
Stinged - 02.06.2016
Either Whirlpool or the new 0.3.7 SHA256 function.
Whirlpool is more secure but SA-MP isn't a bank or something, so SHA256 should be more than enough.
https://sampforum.blast.hk/showthread.php?tid=581336
Re: For a Better Password -
Amunra - 02.06.2016
Quote:
Originally Posted by Stinged
|
And what the function of salt ?
the SHA256_PassHash(string,
salt, Password, len_of_password);
I Dont know how to use Salt ..
Anyone for Example?