Versions in this module Expand all Collapse all v1 v1.21.9 Jan 25, 2022 Changes in this version + const Version + type Hasher interface + CreateHash func(secretKey string) (string, error) + VerifyHash func(hash, secretKey string) error + func NewSCrypt() Hasher + type SCrypt struct + KeyLen int + N int + P int + R int + SaltLen int + func (s SCrypt) CreateHash(secretKey string) (string, error) + func (s SCrypt) VerifyHash(hash, secretKey string) error