Documentation ¶
Index ¶
Constants ¶
View Source
const (
Scrypt string = "scrypt"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeriveOptionsBuilder ¶
type DeriveOptionsBuilder func(*DeriveOpts)
DeriveOptionsBuilder used to build DeriveOpts
type DeriveOpts ¶
type DeriveOpts interface {
KDF() string
}
DeriveOpts options for deriving a storage key
type StorageKeyDeriver ¶
type StorageKeyDeriver interface {
DeriveKey(options DeriveOpts) ([]byte, error)
}
StorageKeyDeriver calculates a storage key based on the derivation method
Click to show internal directories.
Click to hide internal directories.