From 888ab2cf378597e2880b6dd6a013f3bc192f2b1a Mon Sep 17 00:00:00 2001 From: Corentin Thomasset Date: Thu, 7 Apr 2022 22:13:09 +0200 Subject: [PATCH] feat(tool): encryption --- src/tools/encryption/encryption.vue | 102 ++++++++++++++++++++++++++++ src/tools/encryption/index.ts | 11 +++ src/tools/index.ts | 3 +- 3 files changed, 115 insertions(+), 1 deletion(-) create mode 100644 src/tools/encryption/encryption.vue create mode 100644 src/tools/encryption/index.ts diff --git a/src/tools/encryption/encryption.vue b/src/tools/encryption/encryption.vue new file mode 100644 index 00000000..5f39b4aa --- /dev/null +++ b/src/tools/encryption/encryption.vue @@ -0,0 +1,102 @@ + + + + + \ No newline at end of file diff --git a/src/tools/encryption/index.ts b/src/tools/encryption/index.ts new file mode 100644 index 00000000..0575f7df --- /dev/null +++ b/src/tools/encryption/index.ts @@ -0,0 +1,11 @@ +import { Lock } from '@vicons/tabler'; +import type { ITool } from '../Tool'; + +export const tool: ITool = { + name: 'Encrypt / decrypt text', + path: '/encryption', + description: 'Encrypt and decrypt text clear text using crypto algorithm like AES, TripleDES, Rabbit or RC4.', + keywords: ['cypher', 'uncypher', 'text', 'AES', 'TripleDES', 'Rabbit', 'RC4'], + component: () => import('./encryption.vue'), + icon: Lock, +}; diff --git a/src/tools/index.ts b/src/tools/index.ts index c9889f23..a41a0ff5 100644 --- a/src/tools/index.ts +++ b/src/tools/index.ts @@ -5,12 +5,13 @@ import { tool as tokenGenerator } from './token-generator'; import { tool as hashText } from './hash-text'; import { tool as uuidGenerator } from './uuid-generator'; import { tool as romanNumeralConverter } from './roman-numeral-converter'; +import { tool as cypher } from './encryption'; export const toolsByCategory: ToolCategory[] = [ { name: 'Crypto', icon: LockOpen, - components: [tokenGenerator, hashText, uuidGenerator], + components: [tokenGenerator, hashText, uuidGenerator, cypher], }, { name: 'Converter',