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