Get Hash of file uploaded to r2 in rust

Is there a way to get the hash of an uploaded file in r2 on a worker without going over the cpu limit?
Was this page helpful?