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

#416 in Cryptography

Download history 6/week @ 2024-09-13 11/week @ 2024-09-20 9/week @ 2024-09-27 2/week @ 2024-10-04

216 downloads per month

AGPL-3.0-only

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

AGPL-3.0-only


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.1–3.5MB
~69K SLoC