Versions in this module Expand all Collapse all v1 v1.1.0 Nov 6, 2026 v1.0.0 Nov 6, 2026 Changes in this version + func CheckPassword(hash, password []byte) error + func Equal(a, b []byte) bool + func HashPassword(password []byte, cost int) ([]byte, error) + func RandomBytes(n int) ([]byte, error) + func Redact(v any) any + func SHA256(b []byte) [32]byte + func Sensitive(key string) bool + func Sign(key, data []byte) ([]byte, error) + func Token(n int) (string, error) + func Verify(key, data, tag []byte) bool + func Zero(b []byte)