misskey/src/client/app/common/scripts/get-md5.ts
Acid Chicken (硫酸鶏) c81a94ff75 Resolve #3676 (#3677)
2018-12-19 21:20:25 +09:00

10 lines
258 B
TypeScript

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