Function nettle::dsa::sign[][src]

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

Sign digest using key private and ring params. Siging may fail if digest is larger than q or not co-prime to pq.