RealmOA LibraryReference
Realm Inc.Realm Inc.
API Reference
Introduction
Coding Standards
Modules
Audio
Core
Crypto
Mdoa::cryptography
Fnbuild_merkle_tree()
Mdhash
StHash
Fnhash_combine()
Fnhash()
StHasher
Fnkeccak_f1600()
Fnkmac256()
Fnmerkle_proof()
Fnmerkle_root()
StMerkleProof
StMerkleTree
Mdpqc
StSecureBuffer
StShake128
Fnshake128()
StShake256
Fnshake256()
Fnverify_merkle_proof()
Stoa::Hash
Stoa::Hasher
Stoa::Keypair
Stoa::MerkleProof
Stoa::MerkleTree
Stoa::PublicKey
Stoa::SecretKey
Stoa::SecureBuffer
Stoa::Shake128
Stoa::Shake256
Stoa::Signature
Data
Ml
Network
Ui
Vision
Types
SDK
API ReferenceAPI Reference·ModulesModules·CryptoCrypto·oa::cryptographyoa::cryptography

oa::cryptography::merkle_root

Compute the Merkle root, duplicating the final node of each odd level.

FnRust public APISourceSource

Function Documentation

pub fn merkle_root( leaves: &[Hash] ) -> Hash
SourceSource
Compute the Merkle root, duplicating the final node of each odd level.

On this page