Documentation ¶ Index ¶ Variables func Iterated(out []byte, h hash.Hash, in []byte, salt [8]byte, iterations int) Constants ¶ This section is empty. Variables ¶ View Source var ErrInvalidSaltLength = errors.New("invalid salt length") Functions ¶ func Iterated ¶ func Iterated(out []byte, h hash.Hash, in []byte, salt [8]byte, iterations int) Iterated writes to out the result of computing the Iterated and Salted S2K function (RFC 4880, section 3.7.1.3) using the given hash, input passphrase, salt and iteration count. Types ¶ This section is empty. Source Files ¶ View all Source files s2k.go Click to show internal directories. Click to hide internal directories.