mateusfg7 / 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.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

License:MIT License


Languages

Language:Python 100.0%