UNPKG

encryptor-e2e

Version:

`encryptor-e2e` is a lightweight Node.js library that provides **end-to-end encrypted messaging** using a hybrid cryptographic approach — combining **RSA for key exchange** and **AES for message encryption**. It simplifies the process of securely sending

8 lines (7 loc) 619 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.receiveSecureMessage = exports.sendSecureMessage = exports.generateKeyPair = void 0; var encryptor_1 = require("./encryptor"); Object.defineProperty(exports, "generateKeyPair", { enumerable: true, get: function () { return encryptor_1.generateKeyPair; } }); Object.defineProperty(exports, "sendSecureMessage", { enumerable: true, get: function () { return encryptor_1.sendSecureMessage; } }); Object.defineProperty(exports, "receiveSecureMessage", { enumerable: true, get: function () { return encryptor_1.receiveSecureMessage; } });