Function fromBytes64 [src]
Unpack a 64-byte representation of a scalar
Prototype
pub fn fromBytes64(bytes: [64]u8) Scalar
Parameters
bytes: [64]u8
Source
pub fn fromBytes64(bytes: [64]u8) Scalar {
var scalar = ScalarDouble.fromBytes64(bytes);
return scalar.reduce(5);
}