2 releases
0.1.1 | Jun 6, 2022 |
---|---|
0.1.0 | Mar 31, 2022 |
#1341 in Cryptography
215 downloads per month
Used in 2 crates
21KB
436 lines
WireGuard Keys
This is a utility crate containing data structures relating to WireGuard. There are no builds for it, but the RustDoc documentation is published on every commit.
Resources:
To build this, you want to run make setup-git
because it will use your SSH keys instead of asking for git credentials (and possibly requiring 2-factor authentication).
Features
By default, this crate only provides types for WireGuard keys (Pubkey, Privkey, Secret). These optional features can be enabled:
serde
: serialization and deserialization capabilities (enabled by default).hex
: convert to and from hex (enabled by default).base64
: convert to and from base64 (enabled by default).base32
: convert to and from base32.rocket
: ability to parse WireGuard keys from HTTP requests in Rocket.schema
: ability to generate JSON schemas from the types.
Dependencies
~2–37MB
~517K SLoC