This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
bjornir90's profile picture

[Proof of concept] [1.5] Secure random channel switch

Started by bjornir90, 10 February 2013 - 11:11 PM
bjornir90 #1
Posted 11 February 2013 - 12:11 AM
As the 1.5, rednet will be not secure anymore, as everyone could listen on your channel.
So I thought something should be done and I came up with the idea of a random channel switcher. I'm gonna make it more secure with encoding of the channel number.
This is fast, relatively secure and very simple to use.

I think every network program should use this for extra security. Feel free to distribute with your program just give me credit, a link to this thread will be sufficient :)/>/>


Link :
http://pastebin.com/wD3Mx4ez

Special thanks to bubba for his tutorial :
http://www.computercraft.info/forums2/index.php?/topic/10343-15-modems-and-channels/
InputUsername #2
Posted 11 February 2013 - 01:13 AM
The Pastebin link is incorrect, I think it has 'io' appended to it. http://pastebin.com/wD3Mx4ez works for me. Also, there is an error on line 21: os.pullEvet should be os.pullEvent. Good job nonetheless :)/>
ElvishJerricco #3
Posted 11 February 2013 - 04:13 AM
For stuff like this to be useful, you must have encryption… I'll get to work…
bjornir90 #4
Posted 11 February 2013 - 05:39 AM
The Pastebin link is incorrect, I think it has 'io' appended to it. http://pastebin.com/wD3Mx4ez works for me. Also, there is an error on line 21: os.pullEvet should be os.pullEvent. Good job nonetheless :)/>

Thanks you for the help, I typed it on my phone so some typing errors can appears.

About encryption I'm working on it :)/>