Documentation ¶
Index ¶
- Variables
- func Argon2i(reader io.Reader, params Params, format bool) (string, error)
- func Argon2id(reader io.Reader, params Params, format bool) (string, error)
- func Bcrypt(reader io.Reader, params Params, format bool) (string, error)
- func PBKDF2(reader io.Reader, params Params, format bool) (string, error)
- func Scrypt(reader io.Reader, params Params, format bool) (string, error)
- func ScryptT(reader io.Reader, params Params, format bool) (string, error)
- type Params
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultParams = Params{ Time: 3, Memory: 32 * 1024, Iter: 10000, Hmac: sha256.New, Scrypt: gsk.DefaultParams, Cost: 10, }
View Source
var KeyLen = 32
View Source
var SaltLen = 32
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.