Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DefaultParams = &CryptoParams{ memory: 64 * 1024, iterations: 1, threads: 4, saltLength: 16, keyLength: 32, } ErrInvalidData = errors.New("data provided is not a valid encoded data") ErrIncompatibleVersion = errors.New("encryption version is incompatible") )
Functions ¶
Types ¶
type CryptoParams ¶
type CryptoParams struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.