Home | Community | Message Board

MRCA Tyroler Gluckspilze
This site includes paid links. Please support our sponsors.


Welcome to the Shroomery Message Board! You are experiencing a small sample of what the site has to offer. Please login or register to post messages and view our exclusive members-only content. You'll gain access to additional forums, file attachments, board customizations, encrypted private messages, and much more!

Kraken Kratom Shop: Red Vein Kratom

Jump to first unread post Pages: 1
Invisiblefunkymonk
Get's down, withthe get-down.
 User Gallery

Registered: 11/29/02
Posts: 8,160
Loc: saskatchewan
simple programming
    #1335443 - 02/25/03 03:21 PM (21 years, 1 month ago)

I need to write a simple program, and even though i don't know where to start, i'm confident....can someone help me out....??????

Extras: Filter Print Post Top
OfflineViking
"I've beenworking on myrr..rou..routine!"

Registered: 11/21/02
Posts: 304
Loc: Ontario, Canada
Last seen: 14 years, 4 months
Re: simple programming [Re: funkymonk]
    #1335554 - 02/25/03 03:52 PM (21 years, 1 month ago)

what do you want it do to?

Extras: Filter Print Post Top
Invisiblefunkymonk
Get's down, withthe get-down.
 User Gallery

Registered: 11/29/02
Posts: 8,160
Loc: saskatchewan
Re: simple programming [Re: Viking]
    #1335634 - 02/25/03 04:12 PM (21 years, 1 month ago)


I have a program (it's a game) and i want to have it accessable only by password..
simple as fuck...just don't know where to start.. so really, for me it's not that simple.

Extras: Filter Print Post Top
Invisibledjfrog
omgws!!!1!

Registered: 10/22/00
Posts: 3,710
Re: simple programming [Re: funkymonk]
    #1335832 - 02/25/03 05:24 PM (21 years, 1 month ago)

what language? What OS?

Extras: Filter Print Post Top
Invisiblefunkymonk
Get's down, withthe get-down.
 User Gallery

Registered: 11/29/02
Posts: 8,160
Loc: saskatchewan
Re: simple programming [Re: djfrog]
    #1335910 - 02/25/03 06:09 PM (21 years, 1 month ago)

C++, windows me...
I got it figured out, the cat's in OTD helped me out...
thanks though

Extras: Filter Print Post Top
OfflinePhluck
Carpal Tunnel
 User Gallery

Registered: 04/10/99
Posts: 11,394
Loc: Canada
Last seen: 5 months, 22 days
Re: simple programming [Re: funkymonk]
    #1336621 - 02/26/03 03:12 AM (21 years, 1 month ago)

Man, I used to be so into coding.

You could spend hours trying to get nifty patterns to appear on your screen... lots of fun. I wonder why I drifted away from that?


--------------------
"I have no valid complaint against hustlers. No rational bitch. But the act of selling is repulsive to me. I harbor a secret urge to whack a salesman in the face, crack his teeth and put red bumps around his eyes." -Hunter S Thompson
http://phluck.is-after.us

Extras: Filter Print Post Top
Invisibledjfrog
omgws!!!1!

Registered: 10/22/00
Posts: 3,710
Re: simple programming [Re: funkymonk]
    #1336653 - 02/26/03 03:33 AM (21 years, 1 month ago)

with WinME, well, there isn't any way to really secure anything, ... If you're just looking to make the game hard to find, you can do the following

1) use CreateFile/ReadFile (http://www.msdn.microsoft.com) to load a critical file for the game into a buffer

2) use the password string to XOR it with the entire buffer of the file in the buffer

3) use CreateFile/WriteFile to write the XOR encoded file back to disk.

The XOR encoded file won't work, and to use it again, you need only repeat with the same password on the same file. XOR'ing something with the same memory twice produces the original file, so after the second time, the file will be useable again. The program won't contain the password needed to access the file, in fact unless someone knows you're using the XOR they won't have a clue whats going on. But XOR is a pretty weak encoding technique, if someone was determined with the right background they could crack it.

I'd probably make a commandline app that takes three parameters, the input file, the output file, and the password. Do the transform twice and make sure you can reproduce the original file. Then, after you've transformed the file, you can erase the original and its "inaccessible without the password"

Extras: Filter Print Post Top
Jump to top Pages: 1

Kraken Kratom Shop: Red Vein Kratom


Similar ThreadsPosterViewsRepliesLast post
* Passwords Ripple 1,173 4 12/13/02 11:16 AM
by Ripple
* Free porn passwords anyone? Amatoxin 4,057 16 03/11/06 05:24 PM
by Amatoxin
* . dr_gonz 1,038 18 12/24/05 01:37 PM
by TM
* Trying to find a degree program.. help? Drink_Punk_Soda 1,072 7 10/06/05 07:36 PM
by Vvellum
* Need a free audio editing program (that saves the files too) World Spirit 1,246 18 12/13/05 09:14 PM
by Simisu
* Fractal or Psychadelic programs and Screensavers... SoulSurfer 1,255 16 01/15/06 02:53 PM
by Konnrade
* forgot xp admin password nice 972 6 10/21/05 03:21 PM
by drtyfrnk
* Password? bigrenn 719 6 12/01/05 11:52 AM
by HELLA_TIGHT

Extra information
You cannot start new topics / You cannot reply to topics
HTML is disabled / BBCode is enabled
Moderator: Entire Staff
877 topic views. 6 members, 30 guests and 31 web crawlers are browsing this forum.
[ Show Images Only | Sort by Score | Print Topic ]
Search this thread:

Copyright 1997-2024 Mind Media. Some rights reserved.

Generated in 0.017 seconds spending 0.003 seconds on 12 queries.