From 7f2309af02b6bc9fb9015445c2314f5181065462 Mon Sep 17 00:00:00 2001 From: Nicco Date: Sun, 7 Jul 2019 21:47:57 +0200 Subject: [PATCH] Update README.md --- README.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 28ed39e..504519b 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,8 @@ Supports Hashes, Symmetric AES & ChaCha20 ciphers and Asymmetric RSA. **Typescript typings included** +[**📒 DOCS HERE 📒**](https://cupcakearmy.github.io/occulto/index.html) + ## Quickstart 🚀 ###### Install @@ -14,11 +16,9 @@ Supports Hashes, Symmetric AES & ChaCha20 ciphers and Asymmetric RSA. npm i node-forge occulto ``` -[**📒 DOCS HERE 📒**](https://cupcakearmy.github.io/occulto/index.html) - ### Examples -## RSA +## [RSA](https://cupcakearmy.github.io/occulto/modules/_rsa_.html) ```typescript const pair = await RSA.gen() @@ -26,7 +26,9 @@ const encrypted = RSA.encrypt('some text', pair.pub) const decrypted = RSA.decrypt(encrypted, pair.prv) ``` -## Symmetric +## [Symmetric](https://cupcakearmy.github.io/occulto/modules/_symmetric_.html) + +[Available Ciphers](https://cupcakearmy.github.io/occulto/enums/_symmetric_.ciphers.html) ```javascript import { Symmetric } from 'occulto' @@ -35,9 +37,7 @@ const encrypted = Symmetric.encrypt('some string' , 'myPass', Symmetric.Ciphers. const decrypted = Symmetric.decrypt(encrypted, 'myPadd') ``` -## Hash - -Available hashes +## [Hash](https://cupcakearmy.github.io/occulto/modules/_hash_.html) [Available hashes](https://cupcakearmy.github.io/occulto/enums/_hash_.hashes.html)