Registry / crypto / pjbgf-sha1cd

pjbgf-sha1cd

JSON →
library0.5.0gogounverified

A Go implementation of SHA-1 with collision detection based on Marc Stevens' counter-cryptanalysis.

go get github.com/pjbgf/sha1cd
INSTALL
IMPORT
SIG · PJBGF-SHA1CD
P
pjbgf-sha1cd
cryptogov0.5.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

sha1cd
github.com/pjbgf/sha1cd

Compute SHA-1 hash with collision detection

package main import ( "fmt" "github.com/pjbgf/sha1cd" ) func main() { h := sha1cd.New() h.Write([]byte("hello")) fmt.Printf("%x\n", h.Sum(nil)) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.5.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
11 hits · last 30 days
node
10
Amazon
1
Resources
pjbgf-sha1cd — go get pjbgf-sha1cd · libregistry