0
0
mirror of https://github.com/rls-moe/nyx synced 2025-09-17 12:04:15 +00:00

Synchronizes vendors for passlib.v1

This commit is contained in:
Thomas Schmitt
2022-07-15 12:30:58 +02:00
parent 540b368f8f
commit f4e4b1d88b
4 changed files with 2 additions and 114 deletions

View File

@@ -7,7 +7,7 @@ import (
const (
MinRounds = 1
MaxRounds = 0xffffffff // setting at 32-bit limit for now
MaxRounds = 0x7fffffff // setting at 32-bit signed integer limit for now
)
func Hash(password, salt []byte, rounds int, hf func() hash.Hash) (hash string) {