[][src]Crate solana_libra_crypto

A library supplying various cryptographic primitives

Re-exports

pub use self::traits::*;
pub use hash::HashValue;

Modules

bls12381

This module implements the Verifying/Signing API for signatures on the BLS12-381 curve.

ed25519

This module provides an API for the PureEdDSA signature scheme over the ed25519 twisted Edwards curve as defined in RFC8032.

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.

slip0010

This module provides an API for SLIP-0010 and for the Ed25519 curve based on SLIP-0010 : Universal private key derivation from master private key.

test_utils

Internal module containing convenience utility functions mainly for testing

traits

This module provides a generic set of traits for dealing with cryptographic primitives.

vrf

This module contains implementations of a verifiable random function (currently only ECVRF). VRFs can be used in the consensus protocol for leader election.

x25519

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