@letsecure/encryptmydata
v1.0.32
Published
This Library is an encrypt data over the network
Downloads
10
Readme
Secure My Data
Secure My Data is an AES algorithm protocol designed to encrypt and sign your confidential information. This project aims to help both small and large-scale enterprises secure their data at rest stored in database.
This Library can also be used has Symentric & Asymentric encryption of data, if it happens data is communicated accross local unsecured network.
Installation
NPM
Install the library using the following command:
Yarn
Install the library using the following command:
Usage
Step 1: Visit the Homepage
Step 2: Enter your desired passphrase. Note that your passphrase will be encrypted and signed.
Step 3: Generate and download your public and private keys.
Step 4: Keep your private key and passphrase very secure.
Step 5: Make your public key available for data encryption.
Note: Rest assured that every data is digitally signed, ensuring that your encrypted data cannot be tampered with during transmission.
Note: The private key is used for signing the data.
API
encryptData()
Expected Parameters:
incomingData
: Any type of data (e.g., JSON, string)relativeOrAbsolutePathToPublicKey
: Path to your generated public keyrelativeOrAbsolutePathToPrivateKey
: Path to your generated private keycallback
: Callback function which contains the encrypted data
decryptData()
Expected Parameters:
incomingData
: Encrypted datarelativeOrAbsolutePathToPublicKey
: Path to your generated public keyrelativeOrAbsolutePathToPrivateKey
: Path to your generated private keysignature
: Signature hashpassphrase
: Passphrase used in generating the initial public and private keyscallback
: Callback function which contains the decrypted data
Support Me
If you find this project helpful, you can support me by making a donation in Bitcoin: Bitcoin address: bc1qw7ruy9x3huqyxu43sr2ym3ux6nyqs5j0mkqyf8