• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Pawn] SHA-256 Password Hashing
#4
(2021-02-05, 04:26 PM)Banditul Wrote:

Seems the server version of R1 got yeeted out of existence because i cant find itto check that. But anyway add this to your a_samp



Code:
native SHA256_PassHash(password[], salt[], ret_hash[], ret_hash_len); // SHA256 for password hashing




And should work



Edit:

Nvm, acording to this https://sampforumarchive.com/forum.sa-mp...l?t=581259 its was added in R2 and not R1





Tried doing it, gave out some native errors lmao.?



(2021-02-05, 10:23 PM)Dobby Wrote: Why not stay on R2?



https://open.mp/docs/translations/th/scr...6_PassHash



Edit: You should consider getting the?SA-MP stlib?if you haven't got it. It'll have the right a_samp.inc version you require.



I am planning to use SAMP-AC (Whitetiger's) that is or was supported on SAMP 0.3.7 R1 and cannot be run on the R2 version due to the GDK differences that were used on the plugin.
  Reply


Messages In This Thread
SHA-256 Password Hashing - by JaKe Elite - 2021-02-05, 10:42 AM
RE: SHA-256 Password Hashing - by Banditul - 2021-02-05, 04:26 PM
RE: SHA-256 Password Hashing - by Dobby - 2021-02-05, 10:23 PM
RE: SHA-256 Password Hashing - by JaKe Elite - 2021-02-06, 01:04 AM

Forum Jump: