Shift reality, not just letters. The Python library that brings the Caesar Cipher into the modern era with Digit, Symbol & Emoji support.
Don't just trust the docs. Test the algorithm right here. This interface mimics the Python library's logic using a JavaScript port. Supports numbers, symbols, and preservation of case.
Real-time encryption as you type
Same algorithm as the Python package
Classic Caesar ignores numbers. We don't. Shift "123" to "456" securely while maintaining formatting.
Encrypt special characters and emojis. Turn "Hello 😊" into hidden cipher text effortlessly.
Direct .encrypt_file() methods to handle I/O safely in-place. No more manual read/write loops.
Zero dependencies. Lightweight. Just install and import. Works on Python 3.11+.
Fully type-hinted methods ensuring excellent IDE support and error checking during development.
Open source and free software. You have the freedom to share and change all versions.
from CaesarCipher import Encryption, Decryption # 1. Initialize Encryption cipher = Encryption( "SecretData_123", shift=5, alterNumbers=True ) # 2. Get Result encrypted_text = cipher.encrypt() print(f"Encrypted: {encrypted_text}") # 3. File Handling (In-place) if cipher.encrypt_file('config.yml'): print("File secured successfully.")