Skip to content

gabrielqfernandes/crypt-js-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

🔒 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