id: crypto title: NextGen Crypto

customediturl: https://github.com/libra/libra/edit/master/crypto/nextgen_crypto/README.md

NextGen

The nextgen folder hosts the future version of the Libra crypto API and several algorithms that will be used in the upcoming versions.

Overview

Nextgen contains the following implementations:

How is this module organized?

nextgen_crypto/src
├── bls12381.rs         # Bls12-381 implementation of the signing/verification API in traits.rs
├── ed25519.rs          # Ed25519 implementation of the signing/verification API in traits.rs
├── lib.rs
├── slip0010.rs         # SLIP-0010 universal hierarchical key derivation for Ed25519
├── test_utils.rs
├── traits.rs           # New API design and the necessary abstractions
├── unit_tests/         # Tests
└── vrf/                
    ├── ecvrf.rs        # ECVRF implementation using curve25519 and SHA512
    ├── mod.rs
    └── unit_tests      # Tests