Function fromBytes [src]
Decode a Curve25519 point from its compressed (X) coordinates.
Prototype
pub fn fromBytes(s: [32]u8) Curve25519
Parameters
s: [32]u8
Source
pub fn fromBytes(s: [32]u8) Curve25519 {
return .{ .x = Fe.fromBytes(s) };
}