Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/developmint/cipher-collection

Zero-dependency modular cipher collection including all well-known and often used ciphers
https://github.com/developmint/cipher-collection

cipher cipher-collection crypto cryptography decode decrypt encode encrypt encryption javascript morse puzzle riddle security

Last synced: about 2 hours ago
JSON representation

Zero-dependency modular cipher collection including all well-known and often used ciphers

Awesome Lists containing this project

README

        

# Cipher Collection - All crypto algorithms you need


Build Status
Coverage Status
Downloads
Version
License
We use Conventional Commits
Thanks badge

> Zero-dependency modular cipher collection including all well-known and often used ciphers.

## 🔥 Features

- Modules per cipher to reduce size
- Available as UMD, CJS and ES Module
- Well tested and [documented](./docs/index.md)
- Compatible with Node 8.0+
- Zero dependencies
- Customizable error handling

## 🔎 Getting started

### 📦️ Through NPM

```
$ npm install cipher-collection
```

ES6 import:

```
import { rot } from 'cipher-collection'

console.log(rot('Hello world!'))
```
ES5 import:

```
const rot = require('cipher-collection').rot

console.log(rot('Hello world!'))
```

### 🔗 Using a CDN

Using a CDN is a great way to play around with the package or reproducing issues (eg. with JSFiddle).
It is **not recommended** using the CDN build in production, because you won't have benefits of you bundlers optimizations
and you need to load the full build, no matter how many ciphers you actually use on your page.

```html

document.getElementById("t").innerHTML = this["cipher-collection"].wolfenbuetteler('ABC');

```

## 🔐 Currently available ciphers

- ROT-N (optionally with numbers)
- Morse
- Fractionated Morse
- Pollux
- Multi-Tap (optionally as exponent expression)
- Manchester code (both standards)
- DTMF
- Base64 (with unicode support!)
- Wolfenbuetteler code
- Multiplicative cipher
- Affine
- AER-256
- ARMON-64
- Polybius

## 📖 Documentation

The documentation can be found [here](./docs/index.md)

## 🛠️ Contributing

Please see our [CONTRIBUTING.md](./CONTRIBUTING.md)

## 📑 License

[MIT License](./LICENSE.md) - Copyright (c) Developmint - Alexander Lichter