/Changename command & /Changepassword
#5

Quote:
Originally Posted by Mariciuc223
Посмотреть сообщение
[php]udb_hash(buf[]) // By darcoblue | Password hasher .
{
new s1=1, s2;
for(new n; n<strlen(buf); n++) { s1 = (s1 + buf[n]) % 65521; s2 = (s2 + s1) % 65521; }
return (s2 << 16) + s1;
}
This is BAD BAD BAD.

Before officially releasing your server, i strongly recommend not using this insecure "hash" if i can call it, use the builtin SHA256_PassHash or get Whirlpool.
Reply


Messages In This Thread
/Changename command & /Changepassword - by SalmaN97 - 19.08.2015, 04:39
Re: /Changename command & /Changepassword - by ThePhenix - 19.08.2015, 04:45
Re: /Changename command & /Changepassword - by SalmaN97 - 19.08.2015, 05:31
Re: /Changename command & /Changepassword - by Mariciuc223 - 19.08.2015, 08:06
Re: /Changename command & /Changepassword - by Evocator - 19.08.2015, 08:23
Re: /Changename command & /Changepassword - by Mariciuc223 - 19.08.2015, 08:29
Re: /Changename command & /Changepassword - by SalmaN97 - 20.08.2015, 05:08
Re: /Changename command & /Changepassword - by Mariciuc223 - 20.08.2015, 06:53

Forum Jump:


Users browsing this thread: 6 Guest(s)