You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let k_kinv = crate::generate::secret_number_rfc6979::<D>(self, prehash);
79
+
self.sign_prehashed(k_kinv, prehash)
80
+
}
81
+
70
82
/// Sign some pre-hashed data
71
83
fnsign_prehashed(
72
84
&self,
@@ -105,6 +117,7 @@ impl Signer<Signature> for SigningKey {
105
117
}
106
118
107
119
implPrehashSigner<Signature>forSigningKey{
120
+
/// Warning: This uses `sha2::Sha256` as the hash function for the digest. If you need to use a different one, use [`SigningKey::sign_prehashed_rfc6979`].
0 commit comments