Quantumbraid's picture
download
raw
300 Bytes
import { createHash } from 'crypto';
function md5(bytes) {
if (Array.isArray(bytes)) {
bytes = Buffer.from(bytes);
}
else if (typeof bytes === 'string') {
bytes = Buffer.from(bytes, 'utf8');
}
return createHash('md5').update(bytes).digest();
}
export default md5;

Xet Storage Details

Size:
300 Bytes
·
Xet hash:
51c6f78eea1c49ddb3af0109071c380f3ac3492d4214263a87c6e811644f8620

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