1
0
mirror of https://github.com/MisskeyIO/misskey synced 2024-12-26 20:48:21 +09:00
MisskeyIO/src/client/scripts/get-md5.ts

11 lines
258 B
TypeScript
Raw Normal View History

// スクリプトサイズがデカい
//import * as crypto from 'crypto';
export default (data: ArrayBuffer) => {
//const buf = new Buffer(data);
2018-12-19 21:20:25 +09:00
//const hash = crypto.createHash('md5');
//hash.update(buf);
2018-12-19 21:20:25 +09:00
//return hash.digest('hex');
return '';
};