data-encryption-for-analytics-by-dmytro

2.4.8 • Public • Published
# Data Encryption for Analytics

A JavaScript package for secure data encryption and decryption in analytics applications. This package utilizes the AES-256-CBC encryption algorithm along with Initialization Vector (IV) for enhanced security.

## Installation

Install the package using npm:

```bash
npm install data-encryption-analytics

Usage

const dataEncryption = require('data-encryption-analytics');

// Example data
const sensitiveData = { /* Your sensitive data */ };

// Encryption
const encryptionKey = 'your-secret-key';
const encryptedData = dataEncryption.encrypt(sensitiveData, encryptionKey);

// Decryption
const decryptedData = dataEncryption.decrypt(encryptedData.encryptedData, encryptionKey, encryptedData.iv);

Features

  • Secure Encryption: Utilizes AES-256-CBC algorithm for robust encryption.
  • Initialization Vector (IV): Enhances security with a random Initialization Vector.
  • Ease of Use: Simple API for encrypting and decrypting data in analytics applications.

Contributing

Feel free to contribute by opening issues or submitting pull requests on the GitHub repository.

License

This project is licensed under the MIT License - see the LICENSE file for details.


Customize the sections as needed, and include more information about specific features, examples, or any other relevant details about your package.

Package Sidebar

Install

npm i data-encryption-for-analytics-by-dmytro

Weekly Downloads

2

Version

2.4.8

License

MIT

Unpacked Size

32.2 kB

Total Files

22

Last publish

Collaborators

  • ruzhytskyi309