From abae62f30eb480b982d7ebe65eb12ef8f693d72a Mon Sep 17 00:00:00 2001 From: nicolas Date: Thu, 10 Jun 2021 01:14:38 +0200 Subject: [PATCH] Removed sha256 --- lib/sha256.ts | 10 ---------- 1 file changed, 10 deletions(-) delete mode 100644 lib/sha256.ts diff --git a/lib/sha256.ts b/lib/sha256.ts deleted file mode 100644 index f06c173c..00000000 --- a/lib/sha256.ts +++ /dev/null @@ -1,10 +0,0 @@ -const crypto = require('crypto'); - -function sha256(input: string): string { - return crypto - .createHash('sha256') - .update(input) - .digest("hex"); -} - -export default sha256; \ No newline at end of file