Skip to content

AES based encryption and decryption in Nodejs using Crypto module.

License

Notifications You must be signed in to change notification settings

rahulmansharamani14/aes-encrypt-decrypt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AES Encryption and Decryption

An API for the implementation of AES based encryption and decryption in Nodejs using Crypto module.

Installation

Clone the repo

  git clone https://github.com/rahulmansharamani14/aes-encrypt-decrypt.git

Install NPM packages

  npm install

Create an .env file and add your APP_SECRET to it

  APP_SECRET='your app secret comes here'

Start Development server

  npm run dev

API Reference

Encryption

  POST /api/encrypt
Body Parameter Type Description
text string Required. Your text

Decryption

  POST /api/decrypt
Body Parameter Type Description
encryptedText string Required. Your decrypted text

License

MIT

About

AES based encryption and decryption in Nodejs using Crypto module.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published