Klowner / tussle

Tus daemon written in Typescript using a pluggable architecture
MIT License
37 stars 2 forks source link

Use crypto.DigestStream in CF Worker environments for chunk checksums #12

Open Klowner opened 1 year ago

Klowner commented 1 year ago

Looks like an unofficial crypto.DigestStream has been added to the workers runtime. This should probably be utilized for chunk checksums on Cloudflare Workers environments.

https://community.cloudflare.com/t/possible-to-compute-sha256-hash-of-large-request-body/328318/5