Skip to content

Instantly share code, notes, and snippets.

@bcarlin
Created July 9, 2019 15:14
Show Gist options
  • Save bcarlin/574c3ad182f4bef23e0f313997e90fd7 to your computer and use it in GitHub Desktop.
Save bcarlin/574c3ad182f4bef23e0f313997e90fd7 to your computer and use it in GitHub Desktop.
fb1
===
--- FAIL: TestCrypt (0.03s)
main_test.go:32: Wrong hash:
expected: 21a4cb899efe5c45ac2128f37b6f71e59c12e99574dfdce1554acaf5ebf37fe2
got : c9e2ff95e3727327196239871e27e6402526759a4ed21ac39b2ab7b3ec554ed8
FAIL
exit status 1
FAIL _/home/bca/tmp/poc/fb/fb1 0.029s
fb2
===
goos: linux
goarch: amd64
BenchmarkCopyHashCrypt-12 100000 16588 ns/op 9417 B/op 15 allocs/op
PASS
ok _/home/bca/tmp/poc/fb/fb2 2.713s
fb3
===
goos: linux
goarch: amd64
BenchmarkCopyHashCrypt-12 100000 16172 ns/op 9641 B/op 18 allocs/op
PASS
ok _/home/bca/tmp/poc/fb/fb3 2.668s
bc
===
goos: linux
goarch: amd64
BenchmarkCopyHashCrypt-12 100000 12467 ns/op 9472 B/op 12 allocs/op
PASS
ok _/home/bca/tmp/poc/fb/bc 1.802s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment