The Daily Click ::. Forums ::. Klik Coding Help ::. Message Encryption
 

Post Reply  Post Oekaki 
 

Posted By Message

Plooscva



Registered
  25/10/2006
Points
  149

Has Donated, Thank You!
23rd February, 2007 at 07:46:06 -

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
  25/08/2006
Points
  132

You've Been Circy'd!Clickzine StaffSilverNova MemberVIP MemberTurtle Power!Evil klikerWii OwnerHero of TimeGhostbuster!Pokemon Ball!
23rd February, 2007 at 08:34:44 -

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


Silveraura

God's God

Registered
  08/08/2002
Points
  6747

Game of the Week WinnerKlikCast StarAlien In Training!VIP Member360 OwnerWii OwnerSonic SpeedThe Cake is a LieComputerChristmas Tree!
I am an April Fool
23rd February, 2007 at 23:30:16 -

Question though, how might you use blowfish to encrypt strings. I believe you can only encrypt files with it.

 
http://www.facebook.com/truediamondgame

Silveraura

God's God

Registered
  08/08/2002
Points
  6747

Game of the Week WinnerKlikCast StarAlien In Training!VIP Member360 OwnerWii OwnerSonic SpeedThe Cake is a LieComputerChristmas Tree!
I am an April Fool
24th February, 2007 at 00:57:11 -

Ah ha, thanks, I didn't think of looking there.

 
http://www.facebook.com/truediamondgame

Plooscva



Registered
  25/10/2006
Points
  149

Has Donated, Thank You!
24th February, 2007 at 03:35:46 -

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
  03/08/2002
Points
  4504

You've Been Circy'd!VIP MemberPS3 Owner
24th February, 2007 at 07:18:11 -

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
  25/10/2006
Points
  149

Has Donated, Thank You!
24th February, 2007 at 09:41:35 -

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
  27/10/2002
Points
  8322

Honored Admin Alumnus
24th February, 2007 at 15:22:07 -

In this case, a deterrent like that's probably enough.

 
http://www.davidn.co.nr - Games, music, living in America

Wicked Studios



Registered
  25/10/2004
Points
  460
27th February, 2007 at 20:05:45 -

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
  08/08/2002
Points
  6747

Game of the Week WinnerKlikCast StarAlien In Training!VIP Member360 OwnerWii OwnerSonic SpeedThe Cake is a LieComputerChristmas Tree!
I am an April Fool
27th February, 2007 at 22:16:50 -

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
  29/07/2005
Points
  1078

GOTW WINNER CUP 1!GOTW WINNER CUP 2!GOTW WINNER CUP 3!GOTW WINNER CUP 4!Evil klikerHasslevania 2!The OutlawSanta Boot
1st March, 2007 at 16:46:22 -

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!
   

Post Reply



 



Advertisement

Worth A Click