1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
#![cfg_attr(not(test), no_std)]

#[allow(dead_code)]
mod bindings;
#[allow(non_camel_case_types)]
mod ctypes;

pub mod blake2b;

use rand_core::{CryptoRng, RngCore};

pub trait GenerateSecret {
    fn generate<RNG: RngCore + CryptoRng>(rng: &mut RNG) -> Self;
}