示例#1
0
func BenchmarkSHA512(b *testing.B) {
	test.HashBench(b, NewSHA512)
}
示例#2
0
func BenchmarkSHA256(b *testing.B) {
	test.HashBench(b, NewSHA256)
}
示例#3
0
func BenchmarkSHA384(b *testing.B) {
	test.HashBench(b, NewSHA384)
}
示例#4
0
func BenchmarkSHA1(b *testing.B) {
	test.HashBench(b, NewSHA1)
}