130 releases (71 stable)

3.0.2 Aug 26, 2025
3.0.1 Jun 26, 2025
3.0.0-rc.0 May 27, 2025
2.3.0 Dec 9, 2025
0.14.0-beta1 Mar 9, 2021

#27 in #cosmwasm

Download history 16866/week @ 2025-09-20 19535/week @ 2025-09-27 14371/week @ 2025-10-04 13967/week @ 2025-10-11 20610/week @ 2025-10-18 16699/week @ 2025-10-25 15883/week @ 2025-11-01 14491/week @ 2025-11-08 16413/week @ 2025-11-15 24061/week @ 2025-11-22 18990/week @ 2025-11-29 18747/week @ 2025-12-06 17233/week @ 2025-12-13 12107/week @ 2025-12-20 9278/week @ 2025-12-27 12386/week @ 2026-01-03

53,893 downloads per month
Used in 774 crates (8 directly)

Apache-2.0

1MB
2K SLoC

CosmWasm Crypto

cosmwasm-crypto on crates.io

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
~233K SLoC