Skip to main content
sha256
xmtp_
content_
types
1.12.0-dev
In xmtp_
content_
types::
encryption
xmtp_content_types
::
encryption
Function
sha256
Copy item path
Source
pub fn sha256(bytes: &[
u8
]) ->
Vec
<
u8
>
ⓘ
Expand description
Computes the SHA-256 hash of the given bytes.