download
raw
231 Bytes
// From https://github.com/darkskyapp/string-hash
export function hash(text: string) {
let hash = 5381;
let i = text.length;
while (i) {
hash = (hash * 33) ^ text.charCodeAt(--i);
}
return (hash >>> 0).toString();
}

Xet Storage Details

Size:
231 Bytes
·
Xet hash:
1767216d03fa89febea26410d05d12936b0cbe124452997f24a03abcf0bff6dd

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.