2018-02-21 07:09:34 +01:00
|
|
|
# One-Time Pad Generator
|
|
|
|
|
2018-02-23 00:36:46 +01:00
|
|
|
Encrypt messages with a randomly-generated [one-time pad](https://en.wikipedia.org/wiki/One-time_pad)!
|
|
|
|
Send your encrypted message along with your pad, and your friend can decrypt the message.
|
|
|
|
Just be sure you destroy the pad when you're done!
|
|
|
|
|
|
|
|
Uses [Random.org](https://www.random.org) to generate a truly random one-time pad.
|
2018-02-21 07:15:54 +01:00
|
|
|
|
|
|
|
## Installation
|
|
|
|
|
|
|
|
Clone with git:
|
|
|
|
|
|
|
|
```
|
|
|
|
> git clone https://github.com/Alamantus/otp-generator.git
|
|
|
|
```
|
|
|
|
|
|
|
|
Go to the directory:
|
|
|
|
|
|
|
|
```
|
|
|
|
> cd otp-generator
|
|
|
|
```
|
|
|
|
|
|
|
|
Install dependencies with NPM or Yarn:
|
|
|
|
|
|
|
|
```
|
|
|
|
> yarn
|
|
|
|
// OR
|
|
|
|
> npm install
|
|
|
|
```
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
|
|
|
Run it:
|
|
|
|
|
|
|
|
```
|
|
|
|
npm run dev
|
|
|
|
```
|
|
|
|
|
|
|
|
Open your browser and go to [http://localhost:1234](http://localhost:1234).
|
|
|
|
|
|
|
|
Use it!
|