main
1package sha1cd
2
3import "hash"
4
5type CollisionResistantHash interface {
6 // CollisionResistantSum extends on Sum by returning an additional boolean
7 // which indicates whether a collision was found during the hashing process.
8 CollisionResistantSum(b []byte) ([]byte, bool)
9
10 hash.Hash
11}