Versions in this module Expand all Collapse all v0 v0.56.0 Sep 2, 2026 GO-2026-5932 GO-2026-5932: The golang.org/x/crypto/openpgp package is unmaintained, unsafe by design, and has known security issues Changes in this version + const TagSize + func Sum(out *[16]byte, m []byte, key *[32]byte) + func Verify(mac *[16]byte, m []byte, key *[32]byte) bool + type MAC struct + func New(key *[32]byte) *MAC + func (h *MAC) Size() int + func (h *MAC) Sum(b []byte) []byte + func (h *MAC) Verify(expected []byte) bool + func (h *MAC) Write(p []byte) (n int, err error)