From 2d4be07560361882144cd41102c86f3a9e36aa09 Mon Sep 17 00:00:00 2001 From: Sean Bowe Date: Tue, 6 Mar 2018 22:26:03 -0700 Subject: [PATCH] Fix group hash comment. --- src/group_hash.rs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/group_hash.rs b/src/group_hash.rs index 58ece78..8dd0df5 100644 --- a/src/group_hash.rs +++ b/src/group_hash.rs @@ -6,10 +6,9 @@ use blake2_rfc::blake2s::Blake2s; /// the algorithm, for rigidity purposes. pub const FIRST_BLOCK: &'static [u8; 64] = b"0000000000000000002ffe76b973aabaff1d1557d79acf2c3795809c83caf580"; -/// Produces an (x, y) pair (Montgomery) for a -/// random point in the Jubjub curve. The point -/// is guaranteed to be prime order and not the -/// identity. +/// Produces a random point in the Jubjub curve. +/// The point is guaranteed to be prime order +/// and not the identity. pub fn group_hash( tag: &[u8], personalization: &[u8],