|
Posted By
|
Message
|
 Plooscva
Registered 10/25/2006
Points 149
|
23rd February, 2007 at 7:46:06 AM -
Well, a good thing to have in a chat is encryption between clients just incase someone connects to the same channel. So basically you send an encrpyted version of waht you would send. When you receive a message you display a decrypted version of what's been sent. I never tried it before and my Moo knowledge is quite poor so before I start doing anything I would like to find out something about it. Can someone give me a some tips, what's better, what not. What extension should I use, what's the simplest way to use the extension and maybe a brief walkthrough.
Plooscva
n/a
|
 Tim I'm on here way too much
Registered 8/25/2006
Points 157
         
|
23rd February, 2007 at 8:34:44 AM -
Isn't that Blowfish extension used for encryption? Look into that? You can also use binary object etc. and MD5.
Thats the extensions / means you could go about doing it using those.
I'll let someone else do the honours of a walkthrough
http://www.SilverNova.co.uk
|
 Deleted User
|
23rd February, 2007 at 12:07:23 PM -
MD5 is a hash and is unsuitable. Blowfish would probably be best.
|
 Silveraura God's God
Registered 8/8/2002
Points 6744
         
|
23rd February, 2007 at 11:30:16 PM -
Question though, how might you use blowfish to encrypt strings. I believe you can only encrypt files with it.
http://www.facebook.com/truediamondgame
|
 Deleted User
|
24th February, 2007 at 12:00:25 AM -
EncryptString$( "Blowfish Object", > Enter string here <, > Enter string here < )
|
 Silveraura God's God
Registered 8/8/2002
Points 6744
         
|
24th February, 2007 at 12:57:11 AM -
Ah ha, thanks, I didn't think of looking there.
http://www.facebook.com/truediamondgame
|
 Plooscva
Registered 10/25/2006
Points 149
|
24th February, 2007 at 3:35:46 AM -
So it's best to use Blowfish for encrypting messages? Thanks, everyone especially Phizzy. Seems I won't have to modify the code extensively to add blowfish encryption. Any other tips?
Ploo
n/a
|
 Phredreeke Don't listen to this idiot
Registered 8/3/2002
Points 4504
 
|
24th February, 2007 at 7:18:11 AM -
Well, think of what you're gonna use for encryption key. Having the same key for all messages hurts security. Random key generation would be good, but how do you suppose you get the key to the receiver?
- Ok, you must admit that was the most creative cussing this site have ever seen -
Make some more box arts damnit!
http://create-games.com/forum_post.asp?id=285363
|
 Plooscva
Registered 10/25/2006
Points 149
|
24th February, 2007 at 9:41:35 AM -
I'm just going to send an encrypted version of what I would send. Then decrypt it when gets to the other client. I will do everything using the same key. I might use different key for different subchannels/commands just to make it harder but noone would really be desperate to hack my small gift for the Polish Klik Community.
Plooscva
n/a
|
 David Newton (DavidN) Invisible
Registered 10/27/2002
Points 8322
|
24th February, 2007 at 3:22:07 PM -
In this case, a deterrent like that's probably enough.
http://www.davidn.co.nr - Games, music, living in America
|
 Wicked Studios
Registered 10/25/2004
Points 460
|
27th February, 2007 at 8:05:45 PM -
instead of going through the trouble of encrypting everything with the same key, why don't you just tell everyone its encrypted? same thing, less work, right?
"Actually sir, we found a tiny unicorn in your exhaust. It was jumping around poking holes in your gas tank." "Oh thank you I did not know that. A tiny unicorn? Wow."
|
 Silveraura God's God
Registered 8/8/2002
Points 6744
         
|
27th February, 2007 at 10:16:50 PM -
You could also set up a method to where theres a list of keys, have the server hold a value, and people receive that value. That value will choose which key is used for each message, based on a list of keys. Every so often, or even after each message, the value changes and thus the key used to encrypt/decrypt the message, will change too.
http://www.facebook.com/truediamondgame
|
 Del Duio Born in a Bowling Alley
Registered 7/29/2005
Points 867
      
|
1st March, 2007 at 4:46:22 PM -
I had problems with Blowfish the one time I tried to use it. It made MMF crash every time. That's why my MMF programs with external files are so easy to exploit!
--
"Del Duio has received 0 trophies. Click here to see them all."
"To be a true ninja you must first pick the most stealthy of our assorted combat suits. Might I suggest the bright neon orange?"
DXF Games, coming next: Hasslevania 2- This Space for Rent!
|
|
|
|