@moonstack/encdec
TypeScript icon, indicating that this package has built-in type declarations

1.2.2 • Public • Published

ENCDEC (Encryption and Decryption)

Installation

npm install @moonstack/encdec

Usage

import * as encdec from "@moonstack/encdec";

const key = "mysecretkeymysecretkey1234567890";
const plaintext = "hello world";
const encrypted = encdec.encrypt(plaintext, key);

const decrypted = encdec.decrypt(encrypted, key);
console.log(decrypted);

License

This project is licensed under the Apache License 2.0 - see the LICENSE file for details

Readme

Keywords

Package Sidebar

Install

npm i @moonstack/encdec

Weekly Downloads

6

Version

1.2.2

License

Apache-2.0

Unpacked Size

19.2 kB

Total Files

8

Last publish

Collaborators

  • m0hammedimran