forked from toolshed/abra
chore: vendor
This commit is contained in:
11
vendor/github.com/pjbgf/sha1cd/detection.go
generated
vendored
Normal file
11
vendor/github.com/pjbgf/sha1cd/detection.go
generated
vendored
Normal file
@ -0,0 +1,11 @@
|
||||
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
|
||||
}
|
Reference in New Issue
Block a user