lnd.xprv/aezeed
Olaoluwa Osuntokun 120cebef77
aezeed: add a set of benchmarks
In this commit we add a set of benchmarks to be able to measure the
enciphering and deciphering speed of the current scheme with the
current scrypt parameters.

On my laptop I get about 100ms per attempt:
⛰ go test -run=XXX -bench=.

goos: darwin
goarch: amd64
pkg: github.com/lightningnetwork/lnd/aezeed
BenchmarkToMnenonic-4     	      10	 102287840 ns/op
BenchmarkFromMnenonic-4   	      10	 105874973 ns/op
PASS
ok  	github.com/lightningnetwork/lnd/aezeed	3.036s
2018-03-01 17:10:54 -08:00
..
bench_test.go aezeed: add a set of benchmarks 2018-03-01 17:10:54 -08:00
cipherseed.go aezeed: add new package implementing the aezeed cipher seed scheme 2018-03-01 17:10:50 -08:00
cipherseeed_test.go aezeed: add comprehensive, mostly property-based tests 2018-03-01 17:10:53 -08:00
errors.go aezeed: add new package implementing the aezeed cipher seed scheme 2018-03-01 17:10:50 -08:00
wordlist.go aezeed: add new package implementing the aezeed cipher seed scheme 2018-03-01 17:10:50 -08:00