Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Making a log-in pass saver.

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
oib111
I post too much
Reputation: 0

Joined: 02 Apr 2007
Posts: 2947
Location: you wanna know why?

PostPosted: Thu Dec 27, 2007 12:22 pm    Post subject: Making a log-in pass saver. Reply with quote

Ok, well, a lot of people sometimes take long breaks from forums and forget either their id, pass, or both(usually the pass). It happens to me all the time on my other forums. So I decided to make a ID & Pass saver (also saves the forum the ID and pass are for). The first part of this is pretty easy. Designing the GUI, and all that. But what I want to do, is save the files as .txt files, but I want to encrypt them when I create them. I obviously also want to be able to decrypt them when you load them. How would I do that. I also need a .ini tutorial as I will be needing them for other things in this program.
_________________


8D wrote:

cigs dont make people high, which weed does, which causes them to do bad stuff. like killing
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
rump
Expert Cheater
Reputation: 0

Joined: 03 Oct 2007
Posts: 169

PostPosted: Thu Dec 27, 2007 12:40 pm    Post subject: Reply with quote

what language?
_________________
C# boot camp, PM me if you want a simple application made and I'll give it a try!
Back to top
View user's profile Send private message
appalsap
Moderator
Reputation: 0

Joined: 27 Apr 2006
Posts: 6753
Location: Pakistan

PostPosted: Thu Dec 27, 2007 1:12 pm    Post subject: Reply with quote

opera magic wand
firefox password saver
internet explorer even has one

_________________
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Thu Dec 27, 2007 1:38 pm    Post subject: Reply with quote

I would agree with Appal here, most, if not all, browsers (real ones) come with password managers in them already which deal with this issue nicely as well as store the passwords somewhat safe. (Nothing is perfect or secure.)

As for INI files, I would suggest either using the basic API for simple reading and writing, or use a class such as:

http://www.codeproject.com/KB/files/CIniFile.aspx

You can find links to information on all the INI functions here:
http://msdn2.microsoft.com/en-us/library/ms724875(VS.85).aspx

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
oib111
I post too much
Reputation: 0

Joined: 02 Apr 2007
Posts: 2947
Location: you wanna know why?

PostPosted: Thu Dec 27, 2007 2:32 pm    Post subject: Reply with quote

Thanks, yeah the language is in C++. Well, yeah I'm aware that most browsers have this sort of thing, but it also goes away if you are clearing private data, which some people do. And also, some people even forget what forum they were one, and this will tell them which(I'm also planning on saving the text files with the name of the forum). Thanks for the .ini tuts but I was really more keen on learning the encryption decryption writing reading thingn.
_________________


8D wrote:

cigs dont make people high, which weed does, which causes them to do bad stuff. like killing
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Fri Dec 28, 2007 11:48 am    Post subject: Reply with quote

oib111 wrote:
Thanks, yeah the language is in C++. Well, yeah I'm aware that most browsers have this sort of thing, but it also goes away if you are clearing private data, which some people do. And also, some people even forget what forum they were one, and this will tell them which(I'm also planning on saving the text files with the name of the forum). Thanks for the .ini tuts but I was really more keen on learning the encryption decryption writing reading thingn.


There are plenty of examples for encryption on the net on various sites, but remember, anything already public is deemed insecure. So think of ways to combine more then one with other routines to protect it more to keep people thinking. You won't really get a 100% uncrackable encryption method but at least you can keep out the little ones that don't know how to do anything.

http://www.codeproject.com/info/search.aspx?artkw=Encryption+AND+C%2B%2B&sbo=kw

Heres an example of Blowfish:
http://www.codeproject.com/KB/security/blowfish.aspx

AES Key Method:
http://www.codeproject.com/KB/security/AESProductKey.aspx

Some examples using the Crypto API:
http://www.codeproject.com/KB/system/icrypto.aspx

You can also find a lot of examples here:
http://pscode.com/vb/scripts/BrowseCategoryOrSearchResults.asp?optSort=Alphabetical&txtCriteria=encrypt&blnWorldDropDownUsed=TRUE&txtMaxNumberOfEntriesPerPage=10&blnResetAllVariables=TRUE&lngWId=3&B1=Quick+Search

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
oib111
I post too much
Reputation: 0

Joined: 02 Apr 2007
Posts: 2947
Location: you wanna know why?

PostPosted: Fri Dec 28, 2007 11:51 am    Post subject: Reply with quote

These cover writing encrypted files I assume?
_________________


8D wrote:

cigs dont make people high, which weed does, which causes them to do bad stuff. like killing
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Fri Dec 28, 2007 12:12 pm    Post subject: Reply with quote

They cover encryption methods that can be rewritten to encrypt files. Just look at the examples, most have screenshots which should show you if they are encrypting just text or files.
_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites