Fast defcon 26 quals pow solver
Switch branches/tags
Nothing to show
Clone or download
Latest commit d17edca May 14, 2018
Permalink
Failed to load latest commit information.
archive Initial commit May 12, 2018
contrib Prepare release May 14, 2018
src Use multi-threading May 12, 2018
.gitignore Initial commit May 12, 2018
Cargo.lock Use multi-threading May 12, 2018
Cargo.toml Use multi-threading May 12, 2018
LICENSE Initial commit May 12, 2018
README.md Fix github link May 14, 2018
image.png Prepare release May 14, 2018

README.md

defcon26-pow

Same proof, less work.

This pow solver has been used by krautstrike instead of the slow python script. A pow-as-a-service deployment has been provided by tu-berlin and @domenukk.

Make sure you build a release binary with cargo build --release.

screenshot

Tests

$ cargo test

Benchmarks

$ cargo +nightly bench --features=nightly
running 5 tests
test tests::test_check_pow_invalid ... ignored
test tests::test_check_pow_valid ... ignored
test tests::test_pow_hash ... ignored
test tests::bench_pow_hash  ... bench:         411 ns/iter (+/- 92)
test tests::bench_pow_valid ... bench:       1,459 ns/iter (+/- 223)

test result: ok. 0 passed; 0 failed; 3 ignored; 2 measured; 0 filtered out
$