Docs.rs
ic-certification-2.6.0
ic-certification 2.6.0
Docs.rs crate page
Apache-2.0
Links
Homepage
Repository
crates.io
Source
Owners
dfinity-publish
github:dfinity:trust
Dependencies
hex ^0.4
normal
serde ^1.0
normal
optional
serde_bytes ^0.11
normal
optional
sha2 ^0.10
normal
rstest ^0.18
dev
serde ^1.0
dev
serde_cbor ^0.11
dev
Versions
77.78%
of the crate is documented
Go to latest version
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
ic_certification
2.6.0
Hash
Trait Implementations
AsHashTree
In ic_certification::hash_tree
Type Alias
ic_certification
::
hash_tree
::
Hash
Copy item path
source
·
[
−
]
pub type Hash = [
u8
;
32
];
Expand description
Sha256 Digest: 32 bytes
Trait Implementations
§
source
§
impl
AsHashTree
for
Hash
source
§
fn
root_hash
(&self) ->
Hash
Returns the root hash of the tree without constructing it. Must be equivalent to
as_hash_tree().reconstruct()
.
source
§
fn
as_hash_tree
(&self) ->
HashTree
Constructs a hash tree corresponding to the data.