Enum curv::elliptic::curves::Ed25519 [−][src]
pub enum Ed25519 {}
Expand description
Ed25519 curve implementation based on cryptoxide library
Implementation notes
-
x coordinate
Underlying library doesn’t expose x coordinate of curve point, but there’s an algorithm recovering x coordinate of ed25519 point from its y coordinate. Every time you call
.x_coord()
orfrom_coords()
, it takes y coordinate and runsxrecover(y)
underhood. Keep in mind thatxrecover
is quite expensive operation.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Ed25519
impl UnwindSafe for Ed25519
Blanket Implementations
Mutably borrows from an owned value. Read more