Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dbkaplun/vernamtools

Vernam cipher and tools in JS
https://github.com/dbkaplun/vernamtools

Last synced: 28 days ago
JSON representation

Vernam cipher and tools in JS

Awesome Lists containing this project

README

        

# [vernamtools](https://dbkaplun.github.io/vernamtools)
Vernam cipher and tools in JS

## Installation

```sh
npm install --save vernamtools
```

## Usage

```js
>> import vernam from 'vernamtools'
>> JSON.stringify(vernam("Hello, world!", "p455w0rd"))
"8QYY\u0018\u001cR\u0013\u001fFYQV"
```

## Prior art

* [hellman/xortool](https://github.com/hellman/xortool), Python