| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Advanced Enigma-style cipher engine with strong modern cryptography, fully stateless, ciphertext-only, supporting password, stealth, plugboard randomization, and MAC (message authentication code) integrity check. No meta/header required — everything is encoded in the ciphertext.
Encryption
Decryption
| Aspect | Classic Enigma | Enigma Cipher |
|---|---|---|
| Hardware | Electromechanical, fixed rotors | Pure software, stateless, random or passworded |
| Plugboard | Manual, fixed | Random or password-derived, encoded in ciphertext |
| Rotor Selection | Manual | Random/password, embedded and recoverable from cipher |
| Security | Weak by modern standards | Modern HMAC, brute-force resistant, password, MAC |
| Key/State Storage | Physical, operator memory | All state embedded and hidden in ciphertext |
| Output | Letters (A-Z) only | Letters/numbers, printable base62, supports symbols |
| Integrity | No built-in integrity | Tamper-proof, MAC checked before output |
| Mode/Replay | Deterministic by rotor start | Randomized each run (unless password/seed used) |
| Meta/Header | Not used, physical record | No header needed—ciphertext only, all param self-coded |
| Stealth | Not possible | Output xored with random pad for deniability |
| Attack Vector | Parameter | Value / Entropy |
|---|---|---|
| Plugboard | 6 pairs, 12 letters | 100+ billion combinations |
| Rotor Positions | 26 × 26 × 26 | 17,576 |
| Rotor Wiring Order | 3! | 6 |
| Salt (random) | 3 chars (base62) | 238,328 possible salts |
| Password (user set) | 8+ chars, strong | 62^8 = 218 trillion+ |
| Stealth Pad (if used) | N chars random | 62^N (very high, per char) |
| HMAC Integrity | 8 chars (base64) | 2^48 |
| Total Combined Entropy | Plug × Rotor × ... | >10^20 (if password strong) |
Message Encryption (Stateless)
node Enigma-Cipher.js encrypt 'Attack At Dawn'
# Output: <base62-ciphertext>
node Enigma-Cipher.js decrypt <base62-ciphertext>
# Output: ATTACK AT DAWNPassword-Protected Secure Channel
node Enigma-Cipher.js encrypt 'NeaByteLab Secret' --pass mySuperSecret
# Output: <ciphertext>
node Enigma-Cipher.js decrypt <ciphertext> --pass mySuperSecret
# Output: NEABYTELAB SECRETStealth Mode For Obfuscated Messages
node Enigma-Cipher.js encrypt 'Top Secret Order #123' --pass sniper --stealth
# Output: <stealth base62>
node Enigma-Cipher.js decrypt <stealth base62> --pass sniper --stealth
# Output: TOP SECRET ORDER #123Integrity Fail On Wrong Password
node Enigma-Cipher.js decrypt <anycipher> --pass wrong
# Output: FAILED: MAC integrity check failed!Creative Commons Attribution-NonCommercial 4.0 International (CC BY-NC 4.0)
| Back | FazBrowse Home | New Git URL |