1.0.32 • Published 12 months ago

@letsecure/encryptmydata v1.0.32

Weekly downloads
-
License
MIT
Repository
-
Last release
12 months ago

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 key
  • relativeOrAbsolutePathToPrivateKey: Path to your generated private key
  • callback: Callback function which contains the encrypted data

decryptData()

Expected Parameters:

  • incomingData: Encrypted data
  • relativeOrAbsolutePathToPublicKey: Path to your generated public key
  • relativeOrAbsolutePathToPrivateKey: Path to your generated private key
  • signature: Signature hash
  • passphrase: Passphrase used in generating the initial public and private keys
  • callback: 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

1.0.29

12 months ago

1.0.28

12 months ago

1.0.32

12 months ago

1.0.31

12 months ago

1.0.30

12 months ago

1.0.26

12 months ago

1.0.25

12 months ago

1.0.24

2 years ago

1.0.23

2 years ago

1.0.19

2 years ago

1.0.18

2 years ago

1.0.17

2 years ago

1.0.15

2 years ago

1.0.13

2 years ago

1.0.12

2 years ago

1.0.11

2 years ago

1.0.10

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago