//! Standard crypto functions and constants used across many MultiversX crates.
//!
//! TODO: move here the rest of the functions and the Wallet, with signing.
pub const SHA256_RESULT_LEN: usize = 32;
pub const KECCAK256_RESULT_LEN: usize = 32;
/// Computes the SHA-256 hash of the given data.
///
/// Returns a 32-byte array containing the hash digest.
/// Computes the Keccak-256 hash of the given data.
///
/// Returns a 32-byte array containing the hash digest.