Module garage_util::async_hash
source · Structs
Functions
Compute the blake2sum of a slice,
spawning on a tokio thread for CPU-intensive processing.
The argument has to be an owned Bytes, as it is moved out to a new thread.
Compute the sha256 of a slice,
spawning on a tokio thread for CPU-intensive processing
The argument has to be an owned Bytes, as it is moved out to a new thread.