Skip to content

aburan28/detectcoll

 
 

Repository files navigation

DetectColl

This is an implementation of Marc Stevens' Counter Cryptanalysis in Go

It implements the hash.Hash interface, as well as a new detectcoll.Hash interface, which adds the method:

hashBytes, ok := h.DetectSum(appendTo)

You can also import github.com/therealmik/detectcoll/sha1 and github.com/therealmik/detectcoll/md5 to register the hashes with the crypto subsystem, and they'll log with the golang log package if a collision attempt is detected.

There is a C version written by Marc Stevens and plenty of great hash breaking resources at his website.

To install:

go get -u github.com/therealmik/detectcoll
go get -u github.com/therealmik/detectcoll/...

About

Reimplementation of libdetectcoll in Go

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%