4 releases

0.3.0 Jul 4, 2021
0.2.2 Mar 19, 2021
0.2.1 Jan 30, 2021
0.2.0 Nov 26, 2020

#1203 in Cryptography

AGPL-3.0-only

26KB
244 lines

yggdrasil-keys-rs

Coverage Pipeline
coverage report pipeline status

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

~3.5MB
~71K SLoC