| Crates.io | jub-jub |
| lib.rs | jub-jub |
| version | 0.0.20 |
| created_at | 2023-07-27 06:41:48.090179+00 |
| updated_at | 2023-11-05 03:09:03.688997+00 |
| description | twisted edwards curve implementation |
| homepage | https://github.com/KogarashiNetwork/Kogarashi/ |
| repository | https://github.com/KogarashiNetwork/Kogarashi/ |
| max_upload_size | |
| id | 927156 |
| size | 20,763 |
This crate provides jubjub curve arithmetic and also supports fully no_std and parity-scale-codec.
The Jubjub curve is one of twisted edwards curve.
$$ ax^2 + y^2 = 1 + dx^2y^2 $$
$$ (x_3 = \frac{x_1y_1 + y_1x_1}{1 + dx_1x_1y_1y_1}, y_3 = \frac{y_1y_1 + ax_1x_1}{1 - dx_1x_1y_1y_1}) $$
$ cargo test