mirror of
https://github.com/cheat/cheat.git
synced 2024-11-22 14:01:36 +01:00
95a4e31b6c
Upgrade all dependencies to newest versions.
12 lines
287 B
Go
12 lines
287 B
Go
package sha1cd
|
|
|
|
import "hash"
|
|
|
|
type CollisionResistantHash interface {
|
|
// CollisionResistantSum extends on Sum by returning an additional boolean
|
|
// which indicates whether a collision was found during the hashing process.
|
|
CollisionResistantSum(b []byte) ([]byte, bool)
|
|
|
|
hash.Hash
|
|
}
|