Codificar con cifrado Rail Fence

Codifica la entrada con “Rail Fence Cipher” según el estándar correspondiente.

Entrada: TextoResultado: Texto

Entrada de texto

Ejecuta para ver el resultado

Ejemplos

Example keys and passwords are public test material.

key has to be bigger than 2

Entrada

Cryptography is THE Art of Writing or solving codes

Expected rejection

Message contains
Key has to be bigger than 2
Clave
1
Desplazamiento
0
key has to be smaller than input's length

Entrada

shortinput

Expected rejection

Message contains
Key should be smaller than the plain text's length
Clave
22
Desplazamiento
0
normal

Entrada

Cryptography is THE Art of Writing or solving codes

Expected answer

Cytgah sTEAto rtn rsligcdsrporpyi H r fWiigo ovn oe
Clave
2
Desplazamiento
0
Normal with Offset non-null

Entrada

12345678901234567890

Expected answer

51746026813793592840
Clave
4
Desplazamiento
2
Normal with Offset with Spaces

Entrada

No one expects the spanish Inquisition.

Expected answer

  e  n ut.ooeepcstesaihIqiiinNnxthpsnso
Clave
3
Desplazamiento
2
offset should be positive

Entrada

shortinput

Expected rejection

Message contains
Offset has to be a positive integer
Clave
2
Desplazamiento
-1

Herramientas relacionadas

Cifrado / Codificación

Referencia de la operación

Ver la documentación técnica original (English)