mirror of
https://github.com/saymrwulf/curve25519-dalek-source.git
synced 2026-09-08 21:00:40 +00:00
Fix a typo (#300)
This commit is contained in:
parent
80aac08c1c
commit
90f10ed096
1 changed files with 1 additions and 1 deletions
|
|
@ -170,7 +170,7 @@ impl VerifyingKey {
|
||||||
|
|
||||||
/// Returns whether this is a _weak_ public key, i.e., if this public key has low order.
|
/// Returns whether this is a _weak_ public key, i.e., if this public key has low order.
|
||||||
///
|
///
|
||||||
/// A weak public key can be used to generate a siganture that's valid for almost every
|
/// A weak public key can be used to generate a signature that's valid for almost every
|
||||||
/// message. [`Self::verify_strict`] denies weak keys, but if you want to check for this
|
/// message. [`Self::verify_strict`] denies weak keys, but if you want to check for this
|
||||||
/// property before verification, then use this method.
|
/// property before verification, then use this method.
|
||||||
pub fn is_weak(&self) -> bool {
|
pub fn is_weak(&self) -> bool {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue