21 releases

new 0.16.0-rc5 Jul 27, 2021
0.16.0-rc4 Jul 22, 2021
0.15.2 Jul 21, 2021
0.15.0 Jun 24, 2021
0.14.0-beta1 Mar 9, 2021

#181 in Magic Beans

Download history 617/week @ 2021-04-08 260/week @ 2021-04-15 249/week @ 2021-04-22 301/week @ 2021-04-29 241/week @ 2021-05-06 211/week @ 2021-05-13 220/week @ 2021-05-20 216/week @ 2021-05-27 143/week @ 2021-06-03 636/week @ 2021-06-10 859/week @ 2021-06-17 2011/week @ 2021-06-24 1923/week @ 2021-07-01 1050/week @ 2021-07-08 2712/week @ 2021-07-15 3382/week @ 2021-07-22

4,447 downloads per month
Used in 44 crates (2 directly)

Apache-2.0

47KB
824 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 Tendemint signature / public key formats.
  • ed25519_batch_verify(): Batch digital signature verification using the EdDSA ed25519 scheme, for Tendemint 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

~3.5MB
~79K SLoC