+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Copy HMAC
+
+
+
+
+
+
+
diff --git a/src/tools/hmac-generator/index.ts b/src/tools/hmac-generator/index.ts
new file mode 100644
index 00000000..c0ca7da4
--- /dev/null
+++ b/src/tools/hmac-generator/index.ts
@@ -0,0 +1,12 @@
+import { ShortTextRound } from '@vicons/material';
+import { defineTool } from '../tool';
+
+export const tool = defineTool({
+ name: 'Hmac generator',
+ path: '/hmac-generator',
+ description:
+ 'Computes a hash-based message authentication code (HMAC) using a secret key and your favorite hashing function.',
+ keywords: ['hmac', 'generator', 'MD5', 'SHA1', 'SHA256', 'SHA224', 'SHA512', 'SHA384', 'SHA3', 'RIPEMD160'],
+ component: () => import('./hmac-generator.vue'),
+ icon: ShortTextRound,
+});
diff --git a/src/tools/index.ts b/src/tools/index.ts
index 6f30200d..a03f273b 100644
--- a/src/tools/index.ts
+++ b/src/tools/index.ts
@@ -16,6 +16,7 @@ import { tool as cypher } from './encryption';
import { tool as etaCalculator } from './eta-calculator';
import { tool as gitMemo } from './git-memo';
import { tool as hashText } from './hash-text';
+import { tool as hmacGenerator } from './hmac-generator';
import { tool as htmlEntities } from './html-entities';
import { tool as baseConverter } from './integer-base-converter';
import { tool as jsonViewer } from './json-viewer';
@@ -36,7 +37,7 @@ export const toolsByCategory: ToolCategory[] = [
{
name: 'Crypto',
icon: LockOpen,
- components: [tokenGenerator, hashText, bcrypt, uuidGenerator, cypher, bip39],
+ components: [tokenGenerator, hashText, bcrypt, uuidGenerator, cypher, bip39, hmacGenerator],
},
{
name: 'Converter',