Fix group hash comment.

This commit is contained in:
Sean Bowe 2018-03-06 22:26:03 -07:00
parent ef85173df5
commit 2d4be07560
No known key found for this signature in database
GPG Key ID: 95684257D8F8B031
1 changed files with 3 additions and 4 deletions

View File

@ -6,10 +6,9 @@ use blake2_rfc::blake2s::Blake2s;
/// the algorithm, for rigidity purposes. /// the algorithm, for rigidity purposes.
pub const FIRST_BLOCK: &'static [u8; 64] = b"0000000000000000002ffe76b973aabaff1d1557d79acf2c3795809c83caf580"; pub const FIRST_BLOCK: &'static [u8; 64] = b"0000000000000000002ffe76b973aabaff1d1557d79acf2c3795809c83caf580";
/// Produces an (x, y) pair (Montgomery) for a /// Produces a random point in the Jubjub curve.
/// random point in the Jubjub curve. The point /// The point is guaranteed to be prime order
/// is guaranteed to be prime order and not the /// and not the identity.
/// identity.
pub fn group_hash<E: JubjubEngine>( pub fn group_hash<E: JubjubEngine>(
tag: &[u8], tag: &[u8],
personalization: &[u8], personalization: &[u8],