Registry / crypto / crypto-bigint

crypto-bigint

JSON →
library0.7.3rscratesunverified

A pure Rust big integer library designed for cryptographic applications with constant-time operations and no_std support.

# Cargo.toml [dependencies] crypto-bigint = "0.7.3"
INSTALL
IMPORT
SIG · CRYPTO-BIGINT
C
crypto-bigint
cryptorustv0.7.3
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.

U256
use crypto_bigint::U256;

Demonstrates basic arithmetic with a 256-bit unsigned integer.

use crypto_bigint::U256; let a = U256::from(42u64); let b = U256::from(10u64); let sum = a + b; println!("Sum: {}", sum);
Debug
Known issues
gotchaOperations are constant-time but not guaranteed to be side-channel resistant in all contexts.
fix
Use with caution in security-critical contexts; consider additional hardening.
affects: >=0.7.0
Upgrade
Version history
0.7.3latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
17 hits · last 30 days
node
16
Resources
crypto-bigint — cargo add crypto-bigint · libregistry