Versions in this module Expand all Collapse all v0 v0.8.0 Jan 12, 2024 v0.7.0 Jan 12, 2024 v0.6.0 Jan 12, 2024 v0.5.0 Jan 12, 2024 v0.4.0 Jan 12, 2024 v0.3.0 Oct 5, 2023 v0.2.0 Oct 4, 2023 v0.1.0 Oct 4, 2023 Changes in this version + const NonceLength + const SeedLength + var ErrConfigurationInvalidLength = errors.New("invalid encoded configuration length") + func RandomBytes(length int) []byte + type Configuration struct + Context []byte + EnvelopeSize int + Group group.Group + Hash *Hash + KDF *KDF + KSF *KSF + MAC *Mac + NonceLen int + OPRF oprf.Identifier + type Hash struct + func NewHash(id crypto.Hash) *Hash + func (h *Hash) Size() int + func (h *Hash) Sum() []byte + func (h *Hash) Write(p []byte) + type IdentityKSF struct + func (i IdentityKSF) Harden(password, _ []byte, _ int) []byte + type KDF struct + func NewKDF(id crypto.Hash) *KDF + func (k *KDF) Expand(key, info []byte, length int) []byte + func (k *KDF) Extract(salt, ikm []byte) []byte + func (k *KDF) Size() int + type KSF struct + func NewKSF(id ksf.Identifier) *KSF + type Mac struct + func NewMac(id crypto.Hash) *Mac + func (m *Mac) Equal(a, b []byte) bool + func (m *Mac) MAC(key, message []byte) []byte + func (m *Mac) Size() int