Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Argon2idTime = uint32(4) Argon2idMemory = uint32(65536) Argon2idThreads = uint8(1) )
View Source
var (
BcryptRounds = 12
)
View Source
var (
DefaultHasher = NewBcrypt()
)
Functions ¶
This section is empty.
Types ¶
type Argon2id ¶
type Argon2id struct {
// contains filtered or unexported fields
}
func (*Argon2id) NeedsRehash ¶
type Bcrypt ¶
type Bcrypt struct {
// contains filtered or unexported fields
}
func (*Bcrypt) NeedsRehash ¶
NeedsRehash checks if the given hash needs to be rehashed.
Click to show internal directories.
Click to hide internal directories.