substrate-crypto-light

Crates.iosubstrate-crypto-light
lib.rssubstrate-crypto-light
version0.1.0
sourcesrc
created_at2024-11-21 17:40:11.206939
updated_at2024-11-21 17:40:11.206939
descriptionCryptographic code for Substrate chains in pure rust with better baremetal support
homepagehttps://github.com/Alzymologist/substrate-crypto-light
repositoryhttps://github.com/Alzymologist/substrate-crypto-light
max_upload_size
id1456472
size76,600
(Slesarew)

documentation

https://docs.rs/substrate-crypto-light

README

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 (original sp-core has ecdsa from secp256k1 C wrapper crate and it does not compile on certain no-std targets and creates extremely large binary blob on others)
Commit count: 43

cargo fmt