mirror of
https://github.com/saymrwulf/pasta_curves-source.git
synced 2026-09-04 20:03:39 +00:00
Fix error in doc comment.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
This commit is contained in:
parent
9aa3327a0a
commit
25ea5d07f7
1 changed files with 1 additions and 1 deletions
|
|
@ -92,7 +92,7 @@ pub trait Curve:
|
|||
/// let hasher = C::Projective::hash_to_curve("z.cash:example_pedersen_commitment");
|
||||
/// let g = hasher(b"g");
|
||||
/// let h = hasher(b"h");
|
||||
/// (g * x + h * r).to_affine()
|
||||
/// (g * x + &(h * r)).to_affine()
|
||||
/// }
|
||||
/// ```
|
||||
fn hash_to_curve(domain_prefix: &str) -> Box<dyn Fn(&[u8]) -> Self + 'static>;
|
||||
|
|
|
|||
Loading…
Reference in a new issue