Function nettle::dsa::sign

source ·
pub fn sign<R: Random>(
    params: &Params,
    private: &PrivateKey,
    digest: &[u8],
    random: &mut R
) -> Result<Signature>
Expand description

Sign digest using key private and ring params.

Siging may fail if digest is larger than q or not co-prime to pq.