Easy to Use API
Simple, intuitive, and powerful. Zero dependencies, pure TypeScript.
Zero Dependencies
Lightweight and efficient with no external dependencies. The entire library is self-contained, making it perfect for projects where bundle size matters.
TypeScript First
Built with TypeScript for excellent IDE support, autocomplete, and type safety. Catch errors before runtime.
Universal
Works seamlessly in browsers, Node.js, and modern frameworks. One library, every JavaScript environment.
import { ShiftCipher, MorseCodeCipher } from 'kidscipher';
// Caesar Cipher with shift of 3
const caesar = new ShiftCipher(3);
const encoded = caesar.encode('Hello World');
console.log(encoded); // "Khoor Zruog"
// Morse Code
const morse = new MorseCodeCipher();
const secret = morse.encode('SOS');
console.log(secret); // "... --- ..."
Custom Font Support
Transform your ciphers into stunning visual symbols with the Kidscipher font family.
The Kidscipher font collection renders encoded text as unique, beautiful symbols. Perfect for creating puzzles, escape rooms, educational materials, or adding mystery to your designs.
Multiple Cipher Types
Support for substitution, shift, cross, table, morse code, and many more cipher types with flexible options.
Basic Ciphers
- Shift
- Morsecode
- Mobile
- Affine
Cross symbol Ciphers
- Poland
- Small
- Hebrew
- Different
Special Ciphers
- Chinese
- Fraction