relay-crypto 0.2.0-alpha.0

The crypto library for the Relay Ecosystem.
Documentation
pub use ed25519_dalek::{Signature, SignatureError, SigningKey, VerifyingKey};
pub use hex;
pub use hkdf::Hkdf;
pub use rand_core::{CryptoRng, OsRng, RngCore};
pub use sha2::Sha256;
pub use x25519_dalek::{PublicKey, SharedSecret, StaticSecret};

pub mod crypto;
pub mod encode;
pub mod kid;
pub mod record;
pub mod rng;

pub mod prelude {
    pub use super::crypto::{CryptoError, e2e, shamir, sign};
    pub use super::encode::canonical_cbor;
    pub use super::kid::kid_from_x25519_pub;
    pub use super::record::KeyRecord;
}