scalar: fix PrivateKey->SecretKey in docstring

This commit is contained in:
Marko Bencun 2024-07-20 09:21:27 +02:00
parent ad9d9d0726
commit 37d040cb16
No known key found for this signature in database
GPG Key ID: 804538928C37EAE8
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ use crate::constants;
/// Positive 256-bit integer guaranteed to be less than the secp256k1 curve order. /// Positive 256-bit integer guaranteed to be less than the secp256k1 curve order.
/// ///
/// The difference between `PrivateKey` and `Scalar` is that `Scalar` doesn't guarantee being /// The difference between `SecretKey` and `Scalar` is that `Scalar` doesn't guarantee being
/// securely usable as a private key. /// securely usable as a private key.
/// ///
/// **Warning: the operations on this type are NOT constant time!** /// **Warning: the operations on this type are NOT constant time!**