Registry / crypto / bitcoinsecp256k1-scalar

bitcoinsecp256k1-scalar

JSON →
library0.1.16-alpha.0rscratesunverified

Scalars modulo the group order of the secp256k1 elliptic curve used in Bitcoin.

# Cargo.toml [dependencies] bitcoinsecp256k1-scalar = "0.1.16-alpha.0"
INSTALL
IMPORT
SIG · BITCOINSECP256K1-S
B
bitcoinsecp256k1-scalar
cryptorustv0.1.16-alpha.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Scalar
use bitcoinsecp256k1_scalar::Scalar;

Create a zero scalar for the secp256k1 curve.

use bitcoinsecp256k1_scalar::Scalar; fn main() { let scalar = Scalar::zero(); println!("Scalar: {:?}", scalar); }
Debug
Known issues
breakingAlpha version; API may change without notice.
fix
Pin to a specific version and test thoroughly.
affects: >=0.1.0 <0.2.0
Upgrade
Version history
0.1.16-alpha.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
17 hits · last 30 days
node
14
Resources
bitcoinsecp256k1-scalar — cargo add bitcoinsecp256k1-scalar · libregistry