Buckets:
| import crypto from './webcrypto.js'; | |
| const digest = async (algorithm, data) => { | |
| const subtleDigest = `SHA-${algorithm.slice(-3)}`; | |
| return new Uint8Array(await crypto.subtle.digest(subtleDigest, data)); | |
| }; | |
| export default digest; | |
Xet Storage Details
- Size:
- 237 Bytes
- Xet hash:
- ce4e7d1055c4a1453c7c853800fd152af598791d369a66e7ae1e7a9208781eca
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.