Versions in this module Expand all Collapse all v0 v0.30.0 Oct 11, 2024 Changes in this version + func HashIdToHash(id byte) (h crypto.Hash, ok bool) + func HashIdToString(id byte) (name string, ok bool) + func HashToHashId(h crypto.Hash) (id byte, ok bool) + func Iterated(out []byte, h hash.Hash, in []byte, salt []byte, count int) + func Parse(r io.Reader) (f func(out, in []byte), err error) + func Salted(out []byte, h hash.Hash, in []byte, salt []byte) + func Serialize(w io.Writer, key []byte, rand io.Reader, passphrase []byte, c *Config) error + func Simple(out []byte, h hash.Hash, in []byte) + type Config struct + Hash crypto.Hash + S2KCount int