Function reduce64 [src]

Reduce a 64-bytes scalar to the field size.

Prototype

pub fn reduce64(s: [64]u8) CompressedScalar

Parameters

s: [64]u8

Source

pub fn reduce64(s: [64]u8) CompressedScalar { var scalar = ScalarDouble.fromBytes64(s); return scalar.toBytes(); }