One Time

Here’s a little app that can be used to encode/decode text from a text file or from the console input. Encryption is done via a one-time pad type method which uses the fibonnaci sequence as a key. For proper encryption the program should be re-written to include the ability to enter a one-time key. Hence the name.

Bear in mind that the python syntax is based on indents which are taken out when posting on here… I’ll try and figure a way around that. For now I’ll leave it as an excercise for the reader.

Code removed because posting code on here is a pain in the arse.

Advertisements

About Mr Chimp

I make music, draw pictures, browse the internet, programme, and make sweet, sweet cups of tea until the early hours.
This entry was posted in Programming and tagged , , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s