jancajthaml-go / sha1

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

secure hash algorithm 1

Go Report Card

Usage

import "github.com/jancajthaml-go/sha1"

sha1.Digest([]byte("XXXX"))

Performance

BenchmarkSmall-4          1000000  1348 ns/op  480 B/op  6 allocs/op
BenchmarkLarge-4          1000000  1586 ns/op  480 B/op  6 allocs/op
BenchmarkSmallParallel-4  2000000   784 ns/op  480 B/op  6 allocs/op
BenchmarkLargeParallel-4  2000000   805 ns/op  480 B/op  6 allocs/op

verify your performance by running make benchmark

Resources

About

License:The Unlicense


Languages

Language:Go 91.5%Language:Makefile 8.5%