{"id":72706,"library":"sina-ghaderi-poly1305","title":"Poly1305","description":"Package poly1305 implements the Poly1305 one-time message authentication code as specified in the original paper.","status":"active","version":"0.0.0-20220724002748-c5926b03988b","language":"go","source_language":null,"source_url":"https://github.com/sina-ghaderi/poly1305","tags":["crypto","mac","authentication","poly1305","security"],"install":[{"cmd":"go get github.com/sina-ghaderi/poly1305","lang":"bash","label":"Install github.com/sina-ghaderi/poly1305"}],"dependencies":[],"imports":[{"symbol":"poly1305","correct":"github.com/sina-ghaderi/poly1305"}],"quickstart":{"code":"package main\n\nimport (\n\t\"fmt\"\n\t\"github.com/sina-ghaderi/poly1305\"\n)\n\nfunc main() {\n\tvar key [32]byte\n\tout := poly1305.Sum(nil, key[:])\n\tfmt.Println(out)\n}","lang":"go","description":"Computes a Poly1305 MAC for a message."},"warnings":[{"fix":"Generate a new key for each message or use a construction like Poly1305-AES.","message":"Poly1305 keys must only be used for a single message; reusing a key compromises security.","severity":"breaking","affected_versions":"all"}],"env_vars":null,"search_vec":"'authent':11,21 'code':12 'crypto':19 'implement':4 'mac':20 'messag':10 'one':8 'one-tim':7 'origin':17 'packag':2 'paper':18 'poly1305':1,3,6,22 'secur':23 'specifi':14 'time':9","created_at":"2026-06-17T18:42:12.165525+00:00","updated_at":"2026-06-17T18:42:12.165525+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/sina-ghaderi/poly1305","github":"https://github.com/sina-ghaderi/poly1305","docs":"https://pkg.go.dev/github.com/sina-ghaderi/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-17","next_check":"2026-12-14","install_tag":null}}