multiversx-crypto-verification

Installation
SKILL.md

MultiversX Crypto Verification — self.crypto() API Reference

Complete reference for hashing and signature verification in MultiversX smart contracts (SDK v0.64+).

Hashing Functions

All hashing functions take &ManagedBuffer (or anything that borrows as ManagedBuffer) and return a fixed-size ManagedByteArray.

Method Return Type Output Size Use Case
.sha256(data) ManagedByteArray<A, 32> 32 bytes General purpose hashing, Merkle trees
.keccak256(data) ManagedByteArray<A, 32> 32 bytes Ethereum compatibility, EIP-712
.ripemd160(data) ManagedByteArray<A, 20> 20 bytes Bitcoin address derivation (rare)
// Hash a message
let message = ManagedBuffer::from("data to hash");
let hash: ManagedByteArray<Self::Api, 32> = self.crypto().sha256(&message);
Installs
8
GitHub Stars
11
First Seen
Feb 8, 2026
multiversx-crypto-verification — multiversx/mx-ai-skills