cosmwasm-crypto

Crates.iocosmwasm-crypto
lib.rscosmwasm-crypto
version1.5.11
sourcesrc
created_at2021-03-02 09:51:30.540268+00
updated_at2025-03-05 11:03:50.327+00
descriptionCrypto bindings for cosmwasm contracts
homepage
repositoryhttps://github.com/CosmWasm/cosmwasm/tree/main/packages/crypto
max_upload_size
id362570
size76,013
Developers (github:confio:developers)

documentation

README

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).

Commit count: 0

cargo fmt