Function generate

Source
pub fn generate(
    mode: Mode,
    param_type: ParamType,
    seed: Option<[u8; 32]>,
) -> TestVectors
Expand description

creates a set of test vectors Uses a custom seed if provided, otherwise uses a default fixed seed for reproducible test vectors. The deterministic parameter (in write_es5) only affects ES5 header generation.