Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultN = 1 << 16 DefaultR = 10 DefaultP = 2 DefaultKeyLen = 128 DefaultSaltLen = 64 )
Variables ¶
View Source
var (
DefaultProvider = New()
)
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider struct {
// contains filtered or unexported fields
}
Provider handles internal state and algorythm parameters
func (*Provider) HashString ¶
HashString returns scrypt hash of plaintext
func (*Provider) NeedsRehash ¶
NeedsRehash checks if provided hash needs rehash
Click to show internal directories.
Click to hide internal directories.