SA-MP Forums Archive
SHA256_PassHash Issue. - 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)
+--- Thread: SHA256_PassHash Issue. (/showthread.php?tid=623286)



SHA256_PassHash Issue. - UnholyBeast - 30.11.2016

This is my first go at using this. The issue I am having. Is not being able to login after registering my account.
Here's the code: Pastebin


Re: SHA256_PassHash Issue. - alexanderjb918 - 30.11.2016

Just had this issue.

Resolved by using 0.3.7 R-2 version.


Re: SHA256_PassHash Issue. - UnholyBeast - 30.11.2016

I'll give it a shot.

[EDIT: It worked. Thank you very much!]


Re: SHA256_PassHash Issue. - alexanderjb918 - 30.11.2016

Glad to help!


Re: SHA256_PassHash Issue. - SickAttack - 30.11.2016

pawn Код:
new hash[65];
SHA256_PassHash(inputtext, PlayerInfo[playerid][pSalt], hash, 64);
64 => 65

--------------------

https://sampforum.blast.hk/showthread.php?tid=581259

Update 0.3.7 R2-1:
- Updates SHA256_PassHash() sha256 implementation to fix a padding problem.