[Plugin] [REL] Encrypt
#19

Quote:
Originally Posted by DandyCorleone
Посмотреть сообщение
how to connect with website pcp if i wanna login?

example with whirlpool, use wp_hash
It depends on which function you are using.
Here is list for in-game function and corresponding php function :

sha1(const text[], hash[]) - hash("sha1", $password)
sha2(const text[], hash[]) - hash("sha256", $password)
md5(const text[], hash[]) - hash("md5", $password) (Not recommended to use this now)

Out of above three hashing algorithms sha2 is most secure BUT now sa-mp has native function for sha-256 hash( https://sampwiki.blast.hk/wiki/SHA256_PassHash ) so if you want to use sha256 use the native function.

However whirlpool is still better than the above hash algorithms.
Reply


Messages In This Thread
Encrypt - by Fro1sha - 05.06.2010, 12:15
Re: [REL] Encrypt - by king s dm - 05.06.2010, 12:20
Re: [REL] Encrypt - by Woet - 05.06.2010, 14:20
Re: [REL] Encrypt - by Fro1sha - 05.06.2010, 14:41
Re: [REL] Encrypt - by [LDT]LuxurY - 06.07.2010, 15:04
Re: [REL] Encrypt - by JernejL - 31.07.2010, 09:22
[REL] Encrypt - by [NoV]LaZ - 31.07.2010, 09:34
Re: [REL] Encrypt - by JernejL - 09.12.2010, 07:26
Re: [REL] Encrypt - by legodude - 30.12.2010, 19:42
Re: [REL] Encrypt - by FreshDoubleX - 30.12.2010, 19:53
Re: [REL] Encrypt - by Matthewjames1 - 12.05.2011, 00:34
AW: [REL] Encrypt - by The_Godboy - 19.05.2011, 13:41
Re : [REL] Encrypt - by human-product - 23.09.2011, 16:34
Re: [REL] Encrypt - by GangsTa_ - 23.09.2011, 18:00
Re : [REL] Encrypt - by TheBest6 - 07.10.2011, 10:09
Re: [REL] Encrypt - by Stylock - 08.08.2013, 16:32
AW: Re: [REL] Encrypt - by Mellnik - 08.08.2013, 19:10
Re: [REL] Encrypt - by DandyCorleone - 04.01.2017, 02:06
Re: [REL] Encrypt - by BroZeus - 05.01.2017, 12:55
Respuesta: [REL] Encrypt - by DarkChildren - 06.01.2017, 01:18

Forum Jump:


Users browsing this thread: 2 Guest(s)