[][src]Function nettle::dsa::generate_keypair

pub fn generate_keypair<R: Random>(
    params: &Params,
    random: &mut R
) -> (PublicKey, PrivateKey)

Generates a fresh DSA key pair.

Generator and primes must be supplied via params. Entrophy is gathered using random.