Skip to main content

/cipher

/cipher is a unified encryption and decryption command.

It supports both modern algorithms and classic ciphers, making it useful for learning, testing, and lightweight text transformations inside Telegram.

Supported Methods

  • aes-256-cbc
  • aes-192-cbc
  • aes-128-cbc
  • aes-256-ctr
  • aes-256-gcm
  • des-ede3-cbc
  • xor
  • morse
  • atbash
  • caesar
  • vigenere
  • railfence

General Format

/cipher <encrypt|decrypt> <method> <key> <text>

Examples:

/cipher encrypt aes-256-cbc mypassword hello
/cipher decrypt aes-256-cbc mypassword <ciphertext>
/cipher encrypt caesar 3 hello
/cipher encrypt morse hello

Method Rules

  • morse does not require a key
  • atbash does not require a key
  • caesar requires a numeric shift
  • railfence requires a numeric parameter
  • vigenere requires an alphabetic key
  • Other symmetric algorithms require a password or key

Notes

  • Some methods are educational classic ciphers rather than modern secure encryption
  • For best results, make sure the method, mode, and key format match the input you use