secret-cosmwasm-crypto

Crates.iosecret-cosmwasm-crypto
lib.rssecret-cosmwasm-crypto
version1.1.11
sourcesrc
created_at2022-10-25 11:41:04.323844
updated_at2023-10-18 15:44:35.966522
descriptionCrypto bindings for cosmwasm contracts
homepage
repositoryhttps://github.com/scrtlabs/cosmwasm/tree/secret/packages/crypto-secret
max_upload_size
id696848
size74,881
Tom Langer (toml01)

documentation

README

CosmWasm Crypto

NOTE: This is a fork of the original cosmwasm-storage repository adapted for use in SecretNetwork's Secret Contracts.

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

Commit count: 0

cargo fmt