Skip to content

Instantly share code, notes, and snippets.

@christabor
Last active August 29, 2015 14:24
Show Gist options
  • Save christabor/14148114496aac550baa to your computer and use it in GitHub Desktop.
Save christabor/14148114496aac550baa to your computer and use it in GitHub Desktop.
railfence cipher
https://github.com/christabor/MoAL/blob/master/MOAL/maths/applied/computational/cryptography/ciphers/historical/transposition/railfence.py
Encoded with 2 rows: IAEVRBGERTHVAEYISCE
I . V . V . Y . G . C . T
H . E . E . B . S . R
A . A . R . I . E . E
Encoded with 3 rows: IVVYGCTHEEBSRAARIEE
I . E . R . G . R
H . A . Y . S . E
A . V . B . E . T
V . E . I . C
Encoded with 4 rows: IERGRHAYSEAVBETVEIC
I . A . B . C
H . V . I . R
A . E . G . E
V . R . S . T
E . Y . E
Encoded with 5 rows: IABCHVIRAEGEVRSTEYE
I . V . G . T
H . E . S
A . R . E
V . Y . C
E . B . R
A . I . E
Encoded with 6 rows: IVGTHESAREVYCEBRAIE
I . E . E
H . R . C
A . Y . R
V . B . E
E . I . T
A . G
V . S
Encoded with 7 rows: IEEHRCAYRVBEEITAGVS
I . R . R
H . Y . E
A . B . T
V . I
E . G
A . S
V . E
E . C
Encoded with 8 rows: IRRHYEABTVIEGASVEEC
I . Y . T
H . B
A . I
V . G
E . S
A . E
V . C
E . R
R . E
Encoded with 9 rows: IYTHBAIVGESAEVCERRE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment