Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

onetimepad-js

molinajimenez10MIT1.0.1

simple one time pad encrypter/decrypter

js, cipher, encrypt

readme

onetimepad-js

Start project for a (possible) npm package, this is a homework for my faculty and I want to publish a package in NPM.

Requirements

  • Node V10+
  • NPM V6+

Installation

To run this project simply clone the repository, and run main.js as an example.

Usage

import Encrypter from './Cipher.js'


let enc = new Encrypter();
enc.encrypt("hola");
enc.decrypt(); // will return "hola".