-
- {{ compareMatch ? 'Yes' : 'No' }}
-
+ Yes
+ No
@@ -57,9 +56,6 @@
import { computed, ref } from 'vue';
import { hashSync, compareSync } from 'bcryptjs';
import { useCopy } from '@/composable/copy';
-import { useThemeVars } from 'naive-ui';
-
-const themeVars = useThemeVars();
const input = ref('');
const saltCount = ref(10);
@@ -70,13 +66,3 @@ const compareString = ref('');
const compareHash = ref('');
const compareMatch = computed(() => compareSync(compareString.value, compareHash.value));
-
-
diff --git a/src/tools/index.ts b/src/tools/index.ts
index ad6167e1..dcd2fe3b 100644
--- a/src/tools/index.ts
+++ b/src/tools/index.ts
@@ -1,6 +1,7 @@
import { tool as base64FileConverter } from './base64-file-converter';
import { tool as base64StringConverter } from './base64-string-converter';
import { tool as basicAuthGenerator } from './basic-auth-generator';
+import { tool as argon2HashGenerator } from './argon2-hash-generator';
import { tool as httpStatusCodes } from './http-status-codes';
import { tool as yamlToJson } from './yaml-to-json-converter';
import { tool as jsonToYaml } from './json-to-yaml-converter';
@@ -56,7 +57,17 @@ import { tool as macAddressLookup } from './mac-address-lookup';
export const toolsByCategory: ToolCategory[] = [
{
name: 'Crypto',
- components: [tokenGenerator, hashText, bcrypt, uuidGenerator, cypher, bip39, hmacGenerator, rsaKeyPairGenerator],
+ components: [
+ tokenGenerator,
+ hashText,
+ bcrypt,
+ argon2HashGenerator,
+ uuidGenerator,
+ cypher,
+ bip39,
+ hmacGenerator,
+ rsaKeyPairGenerator,
+ ],
},
{
name: 'Converter',