0.3.0 • Published 6 years ago

cipher-collection v0.3.0

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

Cipher Collection - All crypto algorithms you need

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