1 unstable release
| 0.2.0 | Jan 30, 2025 |
|---|---|
| 0.1.0 |
|
#43 in #substrate-polkadot
Used in 3 crates
43KB
876 lines
This is largely based on
sp_core crate. Draft.
Key differences here:
- no-std compatible with arm
- sr25519 supports external Rng, for usability on baremetal
- ecdsa support based on pure Rust crate
k256, to avoidno-stdtarget compiling difficulties (originalsp-corehas ecdsa fromsecp256k1, a C wrapper crate, and as a result ecdsa parts fromsp-coredo not compile on certainno-stdtargets and create extremely large binary blob on others) - ecdsa pair has zeroize on drop
Cryptographic code for Substrate chains in pure rust with better baremetal support.
This is largely based on
sp_core crate.
Key differences here:
- no-std compatible with arm,
- sr25519 supports external Rng, for usability on baremetal
- ecdsa support based on pure Rust crate
k256, to avoid compiling difficulties (originalsp-corehas ecdsa fromsecp256k1C wrapper crate and it does not compile on certain no-std targets and creates extremely large binary blob on others)
Dependencies
~6–9.5MB
~186K SLoC