Fix group hash comment.
This commit is contained in:
parent
ef85173df5
commit
2d4be07560
|
@ -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],
|
||||||
|
|
Loading…
Reference in New Issue