Skip to main content

decode_any_point

Function decode_any_point 

Source
pub fn decode_any_point(bytes: &[u8; 32]) -> Option<EdwardsPoint>
Expand description

点に戻す。decode_point と違い、素数位数の部分群に入っているかは問わず、正規形で曲線上にあれば受け付ける。 部分群の外の点を署名や鍵の交換に使うと、catapult とは違う結果になる