5 unstable releases
0.4.0 | Jun 25, 2024 |
---|---|
0.3.0 | Jul 4, 2021 |
0.2.2 | Mar 19, 2021 |
0.2.1 | Jan 30, 2021 |
0.2.0 | Nov 26, 2020 |
#379 in Cryptography
26KB
239 lines
yggdrasil-keys-rs
yggdrasil-keys-rs is a rust library for handling yggdrasil keys. It's written in pure rust, using the ed25519 implementation from dalek.rs.
Usage
There is rustdoc documentation available, and there are some examples available in the tests.
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
License
lib.rs
:
yggdrasil-keys
Pure rust implementation of a subset of the key handling duties for the yggdrasil mesh network.
This crate implements:
- (de)serializing keys into hex Strings
- generating new keys
- calculating Node and Tree IDs
- converting Node IDs into IPv6 addresses and subnets
Dependencies
~2.2–3.5MB
~70K SLoC