/crypt-js-demo

Messing around with node:crypt library

Primary LanguageJavaScript

🔒 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