89 releases (37 stable)

2.0.1 Apr 3, 2024
2.0.0 Mar 12, 2024
2.0.0-rc.1 Feb 9, 2024
2.0.0-beta.0 Dec 21, 2023
0.14.0-beta1 Mar 9, 2021

#691 in Magic Beans

Download history 6402/week @ 2023-12-23 7138/week @ 2023-12-30 11521/week @ 2024-01-06 11224/week @ 2024-01-13 11254/week @ 2024-01-20 10374/week @ 2024-01-27 12005/week @ 2024-02-03 15426/week @ 2024-02-10 13059/week @ 2024-02-17 11875/week @ 2024-02-24 11582/week @ 2024-03-02 14864/week @ 2024-03-09 12520/week @ 2024-03-16 11877/week @ 2024-03-23 12717/week @ 2024-03-30 7839/week @ 2024-04-06

46,881 downloads per month
Used in 591 crates (5 directly)

Apache-2.0

190KB
827 lines

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 sepc256k1 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

License

This package is part of the cosmwasm repository, licensed under the Apache License 2.0 (see NOTICE and LICENSE).

Dependencies

~6MB
~121K SLoC