diff --git a/docs/modules/_rsa_.html b/docs/modules/_rsa_.html
index 39165b4..819bd13 100644
--- a/docs/modules/_rsa_.html
+++ b/docs/modules/_rsa_.html
@@ -95,7 +95,7 @@
KeyPair: object
@@ -116,7 +116,7 @@
PrivateKey: string
@@ -126,7 +126,7 @@
PublicKey: string
diff --git a/docs/modules/_symmetric_.html b/docs/modules/_symmetric_.html
index 3eab7d7..2b00d0c 100644
--- a/docs/modules/_symmetric_.html
+++ b/docs/modules/_symmetric_.html
@@ -100,7 +100,7 @@
CipherConfig: object
@@ -127,7 +127,7 @@
EncryptedItem: object
diff --git a/docs/modules/_util_.html b/docs/modules/_util_.html
index fb5e985..85fa104 100644
--- a/docs/modules/_util_.html
+++ b/docs/modules/_util_.html
@@ -98,7 +98,7 @@
Parameters
diff --git a/docs/classes/_util_.base64.html b/docs/classes/_util_.base64.html index 4bd13f7..5a21ce4 100644 --- a/docs/classes/_util_.base64.html +++ b/docs/classes/_util_.base64.html @@ -103,7 +103,7 @@Parameters
@@ -126,7 +126,7 @@Parameters
diff --git a/docs/enums/_hash_.hashes.html b/docs/enums/_hash_.hashes.html index 8ff1139..0a5b4f5 100644 --- a/docs/enums/_hash_.hashes.html +++ b/docs/enums/_hash_.hashes.html @@ -96,7 +96,7 @@High level wrapper around forge.
Supports Hashes, Symmetric AES & ChaCha20 ciphers and Asymmetric RSA.
Typescript typings included
+📒 DOCS HERE 📒
Quickstart 🚀
Install
-npm i node-forge occulto
// Whatever import you prefer -// const { RSA } = require('occulto') -import { RSA } from 'occulto' +
Examples
+RSA
+ -Reference 📒
-RSA
-
-RSA.gen(size: number = 2 ** 12)
-- size: [optional, default=4096] Size of the RSA key
-
-Examples
- -
-RSA.encrypt(data: string, key: PublicKey)
Encrypt message with public key
-Example
- -
-RSA.decrypt(data: string, key: PrivateKey)
Decrypts a message encrypted with
-RSA.encrypt()
with the private keyExample
- -Symmetric
-
-Symmetric.Ciphers
Available ciphers
--
-
-
-
-
-
-
-
-Ciphers.ChaCha20
Ciphers.AES_256_GCM
Ciphers.AES_192_GCM
Ciphers.AES_128_GCM
Ciphers.AES_256_CTR
Ciphers.AES_192_CTR
Ciphers.AES_128_CTR
-Symmetric.encrypt(data: string, key: string, type: Ciphers = Ciphers.AES_256_GCM)
Encrypts a string. - Defaults to
-Ciphers.AES_256_CTR
Examples
-