Crates.io | p256k1 |
lib.rs | p256k1 |
version | 7.2.1 |
source | src |
created_at | 2023-02-09 05:36:20.420089 |
updated_at | 2024-12-02 15:36:15.638596 |
description | Rust wrappers around libsecp256k1 which expose internal scalar and point APIs |
homepage | |
repository | https://github.com/Trust-Machines/p256k1/ |
max_upload_size | |
id | 780524 |
size | 5,559,009 |
Rust wrappers around libsecp256k1 to expose unwrapped points and scalars with multi-exponentiation
p256k1
is a library providing group operations on secp256k1, a prime order Weierstrass curve.
p256k1
provides access to curve points in Jacobian coordinates, which allows for very fast operations. Standard math operators are implemented to allow writing code which closely resembles the underlying math. The BitXor
operator is used for scalar exponentiation, using a fast square and multiply algorithm; this provides a very natural and intuitive API. Fast multi-exponentiation is provided using the standard Pippenger algorithm.
Refer to the p256k1/ project for more information.
To update the secp256k1
library, refer to the instructions in the update/ project.
Files with an _
prefix (e.g., _filename.ext
) should not be edited manually. These files are automatically generated and any manual changes may be overwritten.