[DiscordArchive] but are you generating salt and verifier correctly?
[DiscordArchive] but are you generating salt and verifier correctly?
Archived author: Tea • Posted: 2024-01-02T16:04:15.848000+00:00
Original source
you need to replace sha1 with sha256, raw username with sha256-hex-string of email
Archived author: Tea • Posted: 2024-01-02T16:04:29.255000+00:00
Original source
g = 2, not 7
Archived author: Tea • Posted: 2024-01-02T16:04:55.701000+00:00
Original source
and N = 86A7F6DEEB306CE519770FE37D556F29944132554DED0BD68205E27F3231FEF5A10108238A3150C59CAF7B0B6478691C13A6ACF5E1B5ADAFD4A943D4A21A142B800E8A55F8BFBAC700EB77A7235EE5A609E350EA9FC19F10D921C2FA832E4461B7125D38D254A0BE873DFC27858ACB3F8B9F258461E4373BC3A6C2A9634324AB
Archived author: Tea • Posted: 2024-01-02T16:05:26.655000+00:00
Original source
and verifier length will be 128, not 32
Archived author: Tea • Posted: 2024-01-02T16:06:44.794000+00:00
Original source
2, not 3, i typed that too quick
Archived author: Tea • Posted: 2024-01-02T16:07:45.604000+00:00
Original source
its the base for string to number
Archived author: ZaDarkSide • Posted: 2024-01-02T16:08:17.029000+00:00
Original source
well try whatever i put there
Archived author: ZaDarkSide • Posted: 2024-01-02T16:08:23.707000+00:00
Original source
and let us know if it works
Archived author: Tea • Posted: 2024-01-02T16:09:31.060000+00:00
Original source
if your function looks like this, remember that username must be `strtoupper(hash('sha256', strtoupper($email)))`
Archived author: ZaDarkSide • Posted: 2024-01-02T16:09:46.697000+00:00
Original source
ah okay