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.

Geek Culture / Encryption...again...

Author
Message
Neofish
20
Years of Service
User Offline
Joined: 7th Apr 2004
Location: A swimming pool of coke
Posted: 17th Mar 2005 05:41 Edited at: 17th Mar 2005 05:42
I'm posting this again as I failed to find my old thread


Basically, attached to this thread is the encryption routine that I wrote a while back.

Basically, create a file called input.txt (or rename a file to that). Run generate key.exe to make a 64 bit key (or make your own in key.txt). Run encrypt.exe. Please check it my running decrypt.exe.


Please note I have not checked this extensively, so I bet you will have errors, basically I want to find out where and when they occur and perfect the routine. Post the errors and stuff here



The first problem I found is that the encryption converts one of the rectangle characters to newline, and they don't get converted back correctly, staying as newlines, which obviously corrupts the file...additionally I've been told it fails to work with bitmaps..

Thanks
Neofish

:: AphoticVM oGL Plugin : 0.001% Complete (v0.0.0.1) ::

Attachments

Login to view attachments
Neofish
20
Years of Service
User Offline
Joined: 7th Apr 2004
Location: A swimming pool of coke
Posted: 18th Mar 2005 02:34
Bump

:: AphoticVM oGL Plugin : 0.001% Complete (v0.0.0.1) ::
Three Score
20
Years of Service
User Offline
Joined: 18th Jun 2004
Location: behind you
Posted: 20th Mar 2005 11:17
hmm wish i could help

X-Patch x-patch.exe(gui):75% make.exe:5% x-patch.dll(runtime dll):0% developed on win xp home sp2
Neofish
20
Years of Service
User Offline
Joined: 7th Apr 2004
Location: A swimming pool of coke
Posted: 20th Mar 2005 11:19
...at least you posted now I have an excuse to bump it *mua ha*

:: AphoticVM oGL Plugin : 0.001% Complete (v0.0.0.1) ::
Nicholas Thompson
20
Years of Service
User Offline
Joined: 6th Sep 2004
Location: Bognor Regis, UK
Posted: 23rd Mar 2005 05:10
Cool encyrption - what method does that use? I'm looking into making an online highscore table and could do with a decent encryption method.

My Website:
Neofish
20
Years of Service
User Offline
Joined: 7th Apr 2004
Location: A swimming pool of coke
Posted: 23rd Mar 2005 05:33
basically ascii shifting and xor it's not very complicated once you know how to do it...


...and still the problem remains of it not working all the time

:: AphoticVM oGL Plugin : 0.001% Complete (v0.0.0.1) ::
Benjamin
22
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 23rd Mar 2005 05:36
Ascii shifting...pfft thats a bit weak for encryption. Working with bits is the best way to go. Mhmm


"Lets migrate like bricks" - Me
Ace Of Spades
19
Years of Service
User Offline
Joined: 6th Mar 2005
Location: Across the ocean
Posted: 23rd Mar 2005 05:54
the best way to go is a combination of things. Shift ascii values to an extreme extent then store all the information as scrambled arrays before finally storing the individual bits in a scrambeled manor.
Jeku
Moderator
21
Years of Service
User Offline
Joined: 4th Jul 2003
Location: Vancouver, British Columbia, Canada
Posted: 23rd Mar 2005 06:16 Edited at: 23rd Mar 2005 06:17
No, the best UNBREAKABLE way is to use encrypt and decrypt using pads.

Pads can be bought, though. But oh well.


--[GameBasic - Coming Soon]-- ^^^ banner generously designed by TheBigBabou
Neofish
20
Years of Service
User Offline
Joined: 7th Apr 2004
Location: A swimming pool of coke
Posted: 23rd Mar 2005 06:45
Pads are?

:: AphoticVM oGL Plugin : 0.001% Complete (v0.0.0.1) ::
the_winch
21
Years of Service
User Offline
Joined: 1st Feb 2003
Location: Oxford, UK
Posted: 24th Mar 2005 05:43
http://en.wikipedia.org/wiki/One_time_pad

Quote: "this is not a quote"
Jeku
Moderator
21
Years of Service
User Offline
Joined: 4th Jul 2003
Location: Vancouver, British Columbia, Canada
Posted: 24th Mar 2005 06:57
Cool link! I couldn't have explained it better myself


--[GameBasic - Coming Soon]-- ^^^ banner generously designed by TheBigBabou

Login to post a reply

Server time is: 2024-11-27 04:52:29
Your offset time is: 2024-11-27 04:52:29