cipher-collection

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

Usage no npm install needed!

<script type="module">
  import cipherCollection from 'https://cdn.skypack.dev/cipher-collection';
</script>

README

Cipher Collection - All crypto algorithms you need

Build Status Coverage Status Downloads Version License We use Conventional Commits

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
  • 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!'))

Currently available ciphers

  • ROT-N (custom number of rotations, optional number rotation)
  • Morse (custom delimiter, custom handling of unknown characters)
  • Fractionated Morse
  • Pollux
  • Multi-Tap
  • Manchester code
  • DTMF
  • Base64 (with unicode support!)
  • Wolfenbuetteler code
  • Multiplicative cipher
  • Affine

Contributing

Please see our CONTRIBUTING.md

📑 License

MIT License - Copyright (c) Developmint - Alexander Lichter