98 releases (45 stable)
2.1.0 | Jul 11, 2024 |
---|---|
2.0.3 | May 10, 2024 |
2.0.0 | Mar 12, 2024 |
2.0.0-beta.0 | Dec 21, 2023 |
0.14.0-beta1 | Mar 9, 2021 |
#1390 in Magic Beans
39,525 downloads per month
Used in 647 crates
(5 directly)
1MB
2K
SLoC
CosmWasm Crypto
This crate implements cryptography-related functions, so that they can be available for both, the cosmwasm-vm and cosmwasm-std crates.
Implementations
secp256k1_verify()
: Digital signature verification using the ECDSA secp256k1 scheme, for Cosmos signature / public key formats.secp256r1_verify()
: Digital signature verification using the ECDSA secp256r1 scheme, for Cosmos signature / public key formats.ed25519_verify()
: Digital signature verification using the EdDSA ed25519 scheme, for Tendermint signature / public key formats.ed25519_batch_verify()
: Batch digital signature verification using the EdDSA ed25519 scheme, for Tendermint signature / public key formats.
Benchmarking
cd packages/crypto
cargo bench --features std
License
This package is part of the cosmwasm repository, licensed under the Apache License 2.0 (see NOTICE and LICENSE).
Dependencies
~12MB
~230K SLoC