#hash #crypto #msvc #linux #windows #capacity #gcc

nightly bc4py_hash

bc4py crypto hash functions library

4 releases

0.1.3 Jun 2, 2020
0.1.2 May 30, 2020
0.1.1 May 30, 2020
0.1.0 May 27, 2020

24 downloads per month
Used in bc4py-plot-cli

MIT license

3.5MB
76K SLoC

C 76K SLoC // 0.0% comments Rust 719 SLoC // 0.1% comments Python 9 SLoC

bc4py-hash

bc4py crypto hash functions

  • Yescrypt (Yespower0.5)
  • Yespower0.9
  • x16s
  • x11
  • poc (proof of capacity)

requirement

  • MSVC on windows
  • GCC on linux

usage

There are three features.

name note
hashs enables yespower, x16s and x11 hash
poc enables poc hash functions
progress-bar print poc work progress

specify by features like this.

[dependencies]
bc4py_hash = {version = "0.1", features= ["hashs", "poc"]}

test

check all test except heavy test

cargo test --features hashs --features poc

heavy test of plot_file by

cargo test --features poc --release -- --ignored

sources

Author

@namuyan_mine

licence

MIT

Dependencies