https://github.com/kpcyrd/defcon26-pow
Fast defcon 26 quals pow solver
https://github.com/kpcyrd/defcon26-pow
ctf defcon defcon26 proof-of-work
Last synced: about 1 year ago
JSON representation
Fast defcon 26 quals pow solver
- Host: GitHub
- URL: https://github.com/kpcyrd/defcon26-pow
- Owner: kpcyrd
- License: mit
- Created: 2018-05-12T21:16:45.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-05-14T17:56:49.000Z (about 8 years ago)
- Last Synced: 2025-04-14T14:15:11.604Z (over 1 year ago)
- Topics: ctf, defcon, defcon26, proof-of-work
- Language: Rust
- Homepage:
- Size: 89.8 KB
- Stars: 25
- Watchers: 2
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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].
[@domenukk]: https://github.com/domenukk
Make sure you build a release binary with `cargo build --release`.
[](image.png)
## 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
$
```