Closed enceve closed 8 years ago
Poly1305 currently satisfies the hash.Hash interface, but poly1305 is insecure if a key is used twice - so there is the panic in Reset() It would be more idiomatic if poly1305 defines an own struct (with Write() , Sum(), Size() ...)
Poly1305 currently satisfies the hash.Hash interface, but poly1305 is insecure if a key is used twice - so there is the panic in Reset() It would be more idiomatic if poly1305 defines an own struct (with Write() , Sum(), Size() ...)