diff --git a/package.json b/package.json
index 95d311bb..200bf3a4 100644
--- a/package.json
+++ b/package.json
@@ -221,6 +221,7 @@
"is-cidr": "^5.0.3",
"is-ip": "^5.0.1",
"isbn3": "^1.1.44",
+ "js-base64": "^3.7.7",
"json5": "^2.2.3",
"jsonpath": "^1.1.1",
"jsonar-mod": "^1.9.0",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 4ee0da8e..49f8ef60 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -16747,6 +16747,7 @@ packages:
/yamljs@0.3.0:
resolution: {integrity: sha512-C/FsVVhht4iPQYXOInoxUM/1ELSf9EsgKH34FofQOp6hwCPrW4vG4w5++TED3xRUo8gD7l0P1J1dLlDYzODsTQ==}
+ hasBin: true
dependencies:
argparse: 1.0.10
glob: 7.2.3
diff --git a/src/tools/index.ts b/src/tools/index.ts
index 8be0d70e..c4eac984 100644
--- a/src/tools/index.ts
+++ b/src/tools/index.ts
@@ -130,6 +130,7 @@ import { tool as option43Generator } from './option43-generator';
import { tool as pgpEncryption } from './pgp-encryption';
import { tool as pgpKeygen } from './pgp-keygen';
import { tool as portNumbers } from './port-numbers';
+import { tool as rsaEncryption } from './rsa-encryption';
import { tool as pdfSignatureChecker } from './pdf-signature-checker';
import { tool as numeronymGenerator } from './numeronym-generator';
import { tool as macAddressGenerator } from './mac-address-generator';
@@ -279,6 +280,9 @@ export const toolsByCategory: ToolCategory[] = [
passwordStrengthAnalyser,
pdfSignatureChecker,
pgpKeygen,
+ passwordStrengthAnalyser,
+ pdfSignatureChecker,
+ rsaEncryption,
],
},
{
diff --git a/src/tools/rsa-encryption/index.ts b/src/tools/rsa-encryption/index.ts
new file mode 100644
index 00000000..1380d7a9
--- /dev/null
+++ b/src/tools/rsa-encryption/index.ts
@@ -0,0 +1,12 @@
+import { Lock } from '@vicons/tabler';
+import { defineTool } from '../tool';
+
+export const tool = defineTool({
+ name: 'RSA encryption',
+ path: '/rsa-encryption',
+ description: 'Encrypt and decrypt text clear text using RSA Keys.',
+ keywords: ['rsa', 'encryption', 'cypher', 'encipher', 'crypt', 'decrypt'],
+ component: () => import('./rsa-encryption.vue'),
+ icon: Lock,
+ createdAt: new Date('2024-04-20'),
+});
diff --git a/src/tools/rsa-encryption/rsa-encryption.vue b/src/tools/rsa-encryption/rsa-encryption.vue
new file mode 100644
index 00000000..661fe032
--- /dev/null
+++ b/src/tools/rsa-encryption/rsa-encryption.vue
@@ -0,0 +1,188 @@
+
+
+
+
+
+
+
+
+ {{ cryptError }}
+
+
+
+
+
+
+
+
+
+
+
+ {{ decryptError }}
+
+
+
+
+
+
+
+