The Daily Click ::. Forums ::. Klik Coding Help ::. Encryption examples?
 

Post Reply  Post Oekaki 
 

Posted By Message

Chris Burrows



Registered
  14/09/2002
Points
  2396

GOTW WINNER OCT. 2011
10th April, 2011 at 15:58:07 -

Hello everybody,

I need to make a program that encrypts important information.
The kind of information you don't want anybody to read ever.

I was going to store this data in an ini file, but I don't have to.

What is the most secure encryption method?

Are there any good examples floating around that anybody knows of?
Or if somebody has the time, could they make a me an example.

Blowfish and byte shifting would be great.

Thank you so much!
Chris Burrows

Edited by Chris Burrows

 
n/a

Pixelthief

Dedicated klik scientist

Registered
  02/01/2002
Points
  3419

Game of the Week WinnerWeekly Picture Me This Winner!You've Been Circy'd!VIP MemberI like Aliens!Evil klikerThe SpinsterI donated an open source project
10th April, 2011 at 17:15:22 -

RSA encryption using a 128 bit key and signed and verified with a SHA-1'd digital signature does a pretty good job

 
Gridquest V2.00 is out!!
http://www.create-games.com/download.asp?id=7456

Phredreeke

Don't listen to this idiot

Registered
  03/08/2002
Points
  4504

You've Been Circy'd!VIP MemberPS3 Owner
10th April, 2011 at 17:36:23 -

http://rot13.com/

 
- 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

Pixelthief

Dedicated klik scientist

Registered
  02/01/2002
Points
  3419

Game of the Week WinnerWeekly Picture Me This Winner!You've Been Circy'd!VIP MemberI like Aliens!Evil klikerThe SpinsterI donated an open source project
10th April, 2011 at 18:07:13 -


Originally Posted by Phredreeke
http://rot13.com



I can break that with 1 plaintext and 1 ciphertext in 10 seconds, or create a frequency graph to break 1 ciphertext with no plaintexts in maybe a few minutes :') Use any 1-to-1 character mapping not just caesar cipher and I can still do it :0

darn you evil quote indentation, go away!

Edited by Pixelthief

 
Gridquest V2.00 is out!!
http://www.create-games.com/download.asp?id=7456

Phredreeke

Don't listen to this idiot

Registered
  03/08/2002
Points
  4504

You've Been Circy'd!VIP MemberPS3 Owner
10th April, 2011 at 18:10:34 -

Well if ROT13 isn't secure enough you can use double ROT13. (note that you shouldn't use an odd number of rounds of ROT13, as that will only provide the same security as a single round!)

 
- 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

Pixelthief

Dedicated klik scientist

Registered
  02/01/2002
Points
  3419

Game of the Week WinnerWeekly Picture Me This Winner!You've Been Circy'd!VIP MemberI like Aliens!Evil klikerThe SpinsterI donated an open source project
10th April, 2011 at 18:41:28 -

What if your opponent performs a man-in-the-middle attack on your double-rot13 encryption? Then he could reduce the complexity of the attack just down to that of a single round while using rainbow tables to map the two two each other from either side? In fact, it could be used to prove that rot13(m)^N = rot(13*N)(m) for all N in Z*

Edited by Pixelthief

 
Gridquest V2.00 is out!!
http://www.create-games.com/download.asp?id=7456

Chris Burrows



Registered
  14/09/2002
Points
  2396

GOTW WINNER OCT. 2011
11th April, 2011 at 00:16:15 -

Hey Pixeltheif,


I've been reading about RSA encryption and it is quite complicated.

For me to write code for the key generation, encryption and decryption will be a mission to say the least.

Are there extension objects that handle it all for you?

Is there or could you create an example for me?

Also, could you please explain byte shifting to me?


Thank you so much!

 
n/a

Pixelthief

Dedicated klik scientist

Registered
  02/01/2002
Points
  3419

Game of the Week WinnerWeekly Picture Me This Winner!You've Been Circy'd!VIP MemberI like Aliens!Evil klikerThe SpinsterI donated an open source project
11th April, 2011 at 01:16:33 -

Unfortunately, I cannot go more into detail because in my country, cryptography is a federally regulated armament and exportation is punishable by death. But I think the blowfish object can accomplish everything you wanted.

 
Gridquest V2.00 is out!!
http://www.create-games.com/download.asp?id=7456

Eternal Man [EE]

Pitied the FOO

Registered
  18/01/2007
Points
  2955

Game of the Week WinnerHero of TimeLOL SignI am an April Fool
11th April, 2011 at 01:28:44 -


Originally Posted by Pixelthief
Unfortunately, I cannot go more into detail because in my country, cryptography is a federally regulated armament and exportation is punishable by death. But I think the blowfish object can accomplish everything you wanted.



Best post ever.

 
Eternal Entertainment's Code'n'Art Man

E_E = All Indie


...actually Ell Endie, but whatever.
Image
Image
   

Post Reply



 



Advertisement

Worth A Click