{"id":51928,"library":"aead-poly1305","title":"Poly1305","description":"Implements the Poly1305 one-time message authentication code as defined in RFC 7539.","status":"active","version":"0.0.0-20180717145839-3fee0db0b635","language":"go","source_language":null,"source_url":"https://github.com/aead/poly1305","tags":["crypto","mac","authentication","poly1305"],"install":[{"cmd":"go get github.com/aead/poly1305","lang":"bash","label":"Install github.com/aead/poly1305"}],"dependencies":[],"imports":[{"symbol":"poly1305","correct":"github.com/aead/poly1305"}],"quickstart":{"code":"package main\n\nimport (\n\t\"fmt\"\n\t\"github.com/aead/poly1305\"\n)\n\nfunc main() {\n\tvar key [32]byte\n\tvar out [16]byte\n\tpoly1305.Sum(&out, []byte(\"message\"), &key)\n\tfmt.Printf(\"%x\\n\", out)\n}","lang":"go","description":"Computes a Poly1305 MAC for a message."},"warnings":[{"fix":"Always use a fresh key for each message, or combine with a stream cipher like ChaCha20.","message":"Poly1305 is a one-time MAC; reusing a key for multiple messages compromises security.","severity":"breaking","affected_versions":"all"}],"env_vars":null,"search_vec":"'7539':15 'authent':9,18 'code':10 'crypto':16 'defin':12 'implement':2 'mac':17 'messag':8 'one':6 'one-tim':5 'poly1305':1,4,19 'rfc':14 'time':7","created_at":"2026-06-15T06:35:01.395695+00:00","updated_at":"2026-06-15T06:35:01.395695+00:00","problems":[],"ecosystem":"go","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/aead/poly1305","github":"https://github.com/aead/poly1305","docs":"https://pkg.go.dev/github.com/aead/poly1305#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["crypto"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-15","next_check":"2026-12-12","install_tag":null}}