1.0.32 • Published 2 years ago

@letsecure/encryptmydata v1.0.32

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years 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

2 years ago

1.0.28

2 years ago

1.0.32

2 years ago

1.0.31

2 years ago

1.0.30

2 years ago

1.0.26

2 years ago

1.0.25

2 years ago

1.0.24

3 years ago

1.0.23

3 years ago

1.0.19

3 years ago

1.0.18

3 years ago

1.0.17

3 years ago

1.0.15

3 years ago

1.0.13

3 years ago

1.0.12

3 years ago

1.0.11

3 years ago

1.0.10

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago