Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / Encrypting the Data...

Author
Message
Chicknstu
18
Years of Service
User Offline
Joined: 10th Oct 2006
Location:
Posted: 18th Jun 2007 11:23
In The original DarkBasic Pro, there is an option to encrypt your bitmaps / other data, so that users wont be able to load / edit them. Has anyone come up with a method of doing this with DarkGDK?

Stu xxx

www.Retrodev.co.uk
Grunge Game Developers
Zumwalt
17
Years of Service
User Offline
Joined: 1st Feb 2007
Location: Tampa, FL
Posted: 18th Jun 2007 23:03
Use RSA, save your information serialized into a bin file RSA encrypted. Easily done in .Net
APEXnow
Retired Moderator
21
Years of Service
User Offline
Joined: 15th Apr 2003
Location: On a park bench
Posted: 18th Jun 2007 23:08
Why would you want to use RSA? Why not just use symetric encryption. RSA is an asymetric encryption system which ideally should be used for transport of client to server information.

Use Blowfish or something that's fast.

Paul.

Chicknstu
18
Years of Service
User Offline
Joined: 10th Oct 2006
Location:
Posted: 19th Jun 2007 17:08
Explain further... using examples in the room!

I've got some bitmaps. I have lines which say;

dbLoadImage("x.bmp",1);

However, if I want to encrypt them, I presumably need to unencrypt them in code before I call the above function, perhaps to some temporary location?

www.Retrodev.co.uk
Grunge Game Developers

Login to post a reply

Server time is: 2024-11-16 18:08:04
Your offset time is: 2024-11-16 18:08:04