This is a simple little API I named "SecNet". it is an attempt at a more secure redNet.

It works by taking the message that you want to send and hashing it together with a secret key.
once that is done, it sends a table of the message and the hash in a serialized form over rednet
where on the other end it confirms that the hash is correct using the message and the same key
(pre shared). I tried to make the API act as similar to RedNet as I could. This is an attempt to make sure that the
sender is who they say they are. This does not encrypt the messages in any way!

To change the key you can go in to the file and change it manually at the top to a different key or a variable
to intergrate it in with other programs, same with protocol, but i suggest keeping that the same. Remember,
the Key AND protocol both need to be the same on both sides for this to work properly!

Functions:
-SecNet.send(Key,receiverId, Message)
Returns: Nothing

-SecNet.receive(Key,timeout)
Returns: senderId, message

Versions:

V.04: http://pastebin.com/enksE26F
Changes:
Changed API args to make the API more useful


If you see something I could do better or a way to make it more secure please leave a comment!