Encoder avec le chiffre Rail Fence

Encode l'entrée avec “Rail Fence Cipher” selon la norme correspondante.

Entrée: TexteRésultat: Texte

Saisie de texte

Exécuter pour voir le résultat

Exemples

Example keys and passwords are public test material.

key has to be bigger than 2

Entrée

Cryptography is THE Art of Writing or solving codes

Expected rejection

Message contains
Key has to be bigger than 2
Clé
1
Décalage
0
key has to be smaller than input's length

Entrée

shortinput

Expected rejection

Message contains
Key should be smaller than the plain text's length
Clé
22
Décalage
0
normal

Entrée

Cryptography is THE Art of Writing or solving codes

Expected answer

Cytgah sTEAto rtn rsligcdsrporpyi H r fWiigo ovn oe
Clé
2
Décalage
0
Normal with Offset non-null

Entrée

12345678901234567890

Expected answer

51746026813793592840
Clé
4
Décalage
2
Normal with Offset with Spaces

Entrée

No one expects the spanish Inquisition.

Expected answer

  e  n ut.ooeepcstesaihIqiiinNnxthpsnso
Clé
3
Décalage
2
offset should be positive

Entrée

shortinput

Expected rejection

Message contains
Offset has to be a positive integer
Clé
2
Décalage
-1

Outils associés

Chiffrement / Encodage

Référence de l’opération

Voir la documentation technique originale (English)