Skip to content

Latest commit

 

History

History
124 lines (85 loc) · 5.24 KB

README.md

File metadata and controls

124 lines (85 loc) · 5.24 KB

A Free and Comprehensive Encrypt & Decrypt Tools with example code in Node.js.

All Contributors

tag CI License: MIT Issue Forks Stars

The purpose of EncryptLab is to make it easier for developers to understand how each encryption works with tools and example code in Node.js.

List of Available Encryption

Usage

Using SDK

npm install encryptlab
const encryptlab = require("encryptlab");

// encryption list
console.log(encryptlab);

(async () => {
  const encrypted = await encryptlab.tripleDes.encrypt(
    "Hello World",
    "HelloWorldKey"
  );
  const decrypted = await encryptlab.tripleDes.decrypt(
    "aH1rtsLpBFA9P6DqbrQr0w==",
    "HelloWorldKey"
  );
  console.log(encrypted);
  console.log(decrypted);
})();

or

Using NPX Local Web Server

# the server will listening on port 3000!
npx encryptlab

How to start Local Development ?

# first. install dependencies
$ npm install

# then. serve with hot reload at localhost:3000
$ npm run dev

# etc
# build css for production
$ npm run build:css
# watch file changes
$ npm run watch
# run test
$ npm run test

Want to add any encryption method ?

Feel free to create proposal in repository Github Issue to discuss it first before do your work.

Contributing

Want to make EncryptLab more perfect? Let's contribute and follow the contribution guide.

Contributors

Thanks to all of you who spend times to build this repository.


Ahmad Saugi

📖
🎨

Muhammad Irwan Andriawan

🔧

Dihak

🎨

TrasherDK

🤔
🛡️

Muhammad Fauzan

💻 📖 💡 👀 🛡️ 🔧 ⚠️ 🎨 💬

License

EncryptLab is under the MIT License

https://www.producthunt.com/posts/encryptlab?utm_source=badge-featured&utm_medium=badge&utm_souce=badge-encryptlab