misskey/src/client/app/common/scripts/get-md5.ts
2019-01-30 11:51:29 +09:00

11 lines
258 B
TypeScript

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