[][src]Crate solana_libra_crypto

A library supplying various cryptographic primitives used in Libra.

Re-exports

pub use crate::hash::HashValue;
pub use crate::signing::PrivateKey;
pub use crate::signing::PublicKey;
pub use crate::signing::Signature;

Modules

hash

This module defines traits and implementations of cryptographic hash functions for the Libra project.

hkdf

An implementation of HKDF, the HMAC-based Extract-and-Expand Key Derivation Function for the Libra project based on RFC 5869.

signing

An implementation of the associated functions for handling cryptographic signatures for the Libra project.

utils

This module contains various utility functions for testing and debugging purposes

x25519

An implementation of x25519 elliptic curve key pairs required for Diffie-Hellman key exchange in the Libra project.