mirror of
https://github.com/appwrite/appwrite
synced 2026-04-25 15:37:18 +00:00
7 lines
192 B
JavaScript
7 lines
192 B
JavaScript
|
|
const crypto = require('crypto')
|
||
|
|
|
||
|
|
module.exports = async(context) => {
|
||
|
|
const hash = crypto.createHash('md5').update(context.req.bodyBinary).digest("hex")
|
||
|
|
return context.res.send(hash);
|
||
|
|
};
|