Zero-dependency modular cipher collection including all well-known and often used ciphers
Zero-dependency modular cipher collection including all well-known and often used ciphers.
$ 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 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>
<body>
<pre id="t"></pre>
</body>
</html>
<script src="https://unpkg.com/cipher-collection/dist/cipher-collection.umd.js"></script>
<script>
document.getElementById("t").innerHTML = this["cipher-collection"].wolfenbuetteler('ABC');
</script>
The documentation can be found here
Please see our CONTRIBUTING.md
MIT License - Copyright (c) Developmint - Alexander Lichter