package
Version:
v0.0.0-...-a6bf376
Opens a new window with list of versions in this module.
Published: Feb 25, 2025
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
View Source
var (
DefaultPolicy = &Policy{
Upper: 1,
Lower: 1,
Number: 1,
Special: 1,
MinLength: 12,
MaxLength: 64,
}
DefaultParams = &Params{
Memory: 64 * 1024,
Iterations: 1,
Threads: uint8(runtime.NumCPU()),
KeyLength: 32,
}
)
type Policy struct {
Upper int
Lower int
Number int
Special int
MinLength int
MaxLength int
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.