Jubjub Curve

crates.io badge Documentation crates.io badge GitHub license codecov dependency status

This crate provides jubjub curve arithmetic and also supports fully no_std and parity-scale-codec.

Specification

The Jubjub curve is one of twisted edwards curve.

$$ ax^2 + y^2 = 1 + dx^2y^2 $$

$$ (x3 = \frac{x1y1 + y1x1}{1 + dx1x1y1y1}, y3 = \frac{y1y1 + ax1x1}{1 - dx1x1y1y1}) $$

Test

shell $ cargo test