Distort
2007-06-04 17:33:45
The idea behind this script was to create a encrypter/decrypter by means of something simular to a 1 time stamp. The only thing i did differently was avoid using the key for the first octlet, and instead opted for a easier to program "if theres a key number there, and a text number there in the first spot, the key will do something to it instead of placing the key for 4 spots and then the encrypted text".
You'll see if you read through it.
If you actually do read through it, you will find some comments but these are bits of debugging script i had to use (you cant imagine how annoying it is to put in TVK and end up getting out TTT, without debugging). Also, in your output you will also notice some numbers which dont appear to make much sence, these are also remaints from debugging, If you are encrypting text, the last number shown IS the encrypted next.
In the example key and cypher text i had used (key = '54756435454325324'; MSG = '74737230404327444914040013090305';) you will find the outcome will be THREE BLIND MICE.
If you'd like to comment on it, and/or suggest improvments, please feel free. Hell, if you want to complain about the remainder of debugging and sloppy coding (you dont use formating exactly correctly!!) then complain about it and i may decide to take it out, till then, have fun.
Forgot the mention : My scripting name = Pop, for some reason i think it was already registered here, but whatever.
If you want to know how 1 time stamps work, this site is good (and is my refference) http://www.disrespectcopyrights.net/archive/HowTo/how%20to%20use%20one-time%20pads%20for%20secret%20communications.txt
As i stated earlier, i decided to reject one of the ideas proposed, because it would have been harder to script, although i may decide to put it there later.
You'll see if you read through it.
If you actually do read through it, you will find some comments but these are bits of debugging script i had to use (you cant imagine how annoying it is to put in TVK and end up getting out TTT, without debugging). Also, in your output you will also notice some numbers which dont appear to make much sence, these are also remaints from debugging, If you are encrypting text, the last number shown IS the encrypted next.
In the example key and cypher text i had used (key = '54756435454325324'; MSG = '74737230404327444914040013090305';) you will find the outcome will be THREE BLIND MICE.
If you'd like to comment on it, and/or suggest improvments, please feel free. Hell, if you want to complain about the remainder of debugging and sloppy coding (you dont use formating exactly correctly!!) then complain about it and i may decide to take it out, till then, have fun.
Forgot the mention : My scripting name = Pop, for some reason i think it was already registered here, but whatever.
If you want to know how 1 time stamps work, this site is good (and is my refference) http://www.disrespectcopyrights.net/archive/HowTo/how%20to%20use%20one-time%20pads%20for%20secret%20communications.txt
As i stated earlier, i decided to reject one of the ideas proposed, because it would have been harder to script, although i may decide to put it there later.