Skip to content

bitwave/defcon26-pow

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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
$

About

Fast defcon 26 quals pow solver

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Rust 59.8%
  • Python 40.2%