@utsavgadhiya/crypto-module
Version:
A module for encrypting and decrypting data
33 lines (31 loc) • 794 B
Markdown
# crypto-module
This is a crypto module for encryption and decryption of data. This is a generic module and can be used with almost any type of data
# Installation
```
npm i /crypto-module
```
# Example of the encryption payload
```
{
"encrypted_keys": [
"username",
"email"
],
"payloads": [
{
"members": [
{
"username": "Harry",
"email": ""harry.potter.edu",
"gender": "Male"
},
{
"username": "Hermione",
"email": "hermione.granger.edu",
"gender": "Female"
}
]
}
]
}
```