0.0.3 • Published 9 years ago

sodiumperf v0.0.3

Weekly downloads
6
License
MIT
Repository
github
Last release
9 years ago

sodiumperf

compare the performance of various cryptoprimitives in sodium

(by the way, using my secretbox_easy branch)

Method

This runs a script that runs an operation as many times as possible within 1 second. The total operations is then output, along with the number of operations/second compared to a sha256 hash. (i.e, how many sha256 hashes you could have done in the time to perform one operation)

first asymmetric primitives are tested, and then encryption/decryption is tested for inputs of increasing size. (32, 1024, 8096, 1048576 bytes)

results are here

note that the time to fail to decrypt a box is also measured. (this means calculate the poly1305 one time auth, but not calculating the keystream)

License

MIT

0.0.3

9 years ago

0.0.2

9 years ago

0.0.0

9 years ago