Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 11 days ago
JSON representation
Vigenere cipher encoder/decoder. (npm package)
- Host: GitHub
- URL: https://github.com/miguelzacca/vigenere-encoder
- Owner: miguelzacca
- License: mit
- Created: 2024-05-29T00:59:02.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-09-14T22:46:24.000Z (2 months ago)
- Last Synced: 2024-09-15T06:29:05.570Z (2 months ago)
- Topics: cipher, crypto, cryptography, decode, encode, encoder, npm, npm-module, npm-package, package, vigenere, vigenere-cipher
- Language: TypeScript
- Homepage:
- Size: 65.4 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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!
```