warner / wireguard-vanity-address

generate Wireguard keypairs with a given prefix string
MIT License
431 stars 32 forks source link

Update to x25519-dalek 0.5.0 #4

Closed hdevalence closed 5 years ago

hdevalence commented 5 years ago

This should also restore some performance since PublicKey::from uses the fixed-base Edwards keygen.

warner commented 5 years ago

Wow, that gives me a 3x speedup on my Mac Mini. Thanks!

I've rebased it to trunk and will land it momentarily in 1ba4997d5. The patch looks considerably different now, since 1: I'd updated Cargo.toml to use 0.5.1 a few months ago, and 2: I just split up the code into a library portion and added a benchmark test.

hdevalence commented 5 years ago

Great!