type golang.org/x/crypto/poly1305.MAC
7 uses
golang.org/x/crypto/poly1305 (current package)
poly1305.go#L50: func New(key *[32]byte) *MAC {
poly1305.go#L51: m := &MAC{}
poly1305.go#L63: type MAC struct {
poly1305.go#L70: func (h *MAC) Size() int { return TagSize }
poly1305.go#L76: func (h *MAC) Write(p []byte) (n int, err error) {
poly1305.go#L85: func (h *MAC) Sum(b []byte) []byte {
poly1305.go#L94: func (h *MAC) Verify(expected []byte) bool {
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |