darkfi_
sdk
0.5.0
In darkfi_
sdk::
monotree::
utils
darkfi_sdk
::
monotree
::
utils
Function
slice_to_hash
Copy item path
Source
pub fn slice_to_hash(slice: &[
u8
]) ->
Hash
Expand description
Get a fixed length byte-array or
Hash
from slice.