Skip to content

A Python script to encode messages using the Rail Fence algorithm. This script was made to study the many ways to encode a message described in "The Code Book", by Simon Singh.

License

Notifications You must be signed in to change notification settings

mateusfg7/pyRailFence_cipher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pyRailFence Cipher

A Python script to encode messages using the Rail Fence algorithm.

This script was made to study the many ways to encode a message described in The Code Book, by Simon Singh.

Usage

rail-fence.py [option] -m [message]

options:

  • e encode a message
  • d decode a message

params:

  • -h help menu
  • -m message to be ciphered. e.g.: -m "message"

e.g.:

python rail-fence.py e -m "mateus"
  Message:
  mateus
  
  Encoded Message:
  MTUAES

References

About

A Python script to encode messages using the Rail Fence algorithm. This script was made to study the many ways to encode a message described in "The Code Book", by Simon Singh.

Topics

Resources

License

Stars

Watchers

Forks

Languages