diff options
Diffstat (limited to 'includes/external/signal/node_modules/uuid/dist/esm-node/md5.js')
-rw-r--r-- | includes/external/signal/node_modules/uuid/dist/esm-node/md5.js | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/includes/external/signal/node_modules/uuid/dist/esm-node/md5.js b/includes/external/signal/node_modules/uuid/dist/esm-node/md5.js deleted file mode 100644 index 4d68b04..0000000 --- a/includes/external/signal/node_modules/uuid/dist/esm-node/md5.js +++ /dev/null @@ -1,13 +0,0 @@ -import crypto from 'crypto'; - -function md5(bytes) { - if (Array.isArray(bytes)) { - bytes = Buffer.from(bytes); - } else if (typeof bytes === 'string') { - bytes = Buffer.from(bytes, 'utf8'); - } - - return crypto.createHash('md5').update(bytes).digest(); -} - -export default md5;
\ No newline at end of file |