gabrielqfernandes / crypt-js-demo

Messing around with node:crypt library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

🔒 Cryptography Demo

Description

Basic demonstration of some cryptography methods.


Installing

npm i

Hashing

Run hashing tests

npm run test:hash

Symmetric-key

Run symmetric-key tests

npm run test:sym

Asymmetric-key

In order to properly run the asymmetric-key based encryption method you must first generate the rsakeys. To do so, just run:

npm run asym:gen-keys

Run symmetric-key tests

npm run test:asym

About

Messing around with node:crypt library


Languages

Language:JavaScript 100.0%