Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/miguelzacca/vigenere-encoder

Vigenere cipher encoder/decoder. (npm package)
https://github.com/miguelzacca/vigenere-encoder

cipher crypto cryptography decode encode encoder npm npm-module npm-package package vigenere vigenere-cipher

Last synced: about 2 months ago
JSON representation

Vigenere cipher encoder/decoder. (npm package)

Awesome Lists containing this project

README

        

# vigenere-encoder

Vigenere cipher encoder/decoder. (npm package)

## Install

```bash
npm i vigenere-encoder
```

## Use

```node
import v from "vigenere-encoder"
```

## Example

```node
import v from "vigenere-encoder"

const text = "Hello, world!"
const key = "my key"

const cipherText = v.encode(text, key)
console.log(cipherText)

const plainText = v.decode(cipherText, key)
console.log(plainText)
```
output:
```txt
tcvpm, gsppj!
hello, world!
```