MessageHash

class MessageHash(bytes: ByteArray)

Represents a cryptographic hash of a message.

This class provides utilities to compute and handle 256-bit cryptographic hashes of messages. It supports operations to compute hashes using SHA-256 and Keccak-256 algorithms and allows for converting hexadecimal string representations of hashes into byte array format and vice versa.

Constructors

Link copied to clipboard
constructor(bytes: ByteArray)

Types

Link copied to clipboard
object Companion