| 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?
|
Posted: Thu Dec 27, 2007 12:22 pm Post subject: Making a log-in pass saver. |
|
|
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 |
|
 |
rump Expert Cheater
Reputation: 0
Joined: 03 Oct 2007 Posts: 169
|
Posted: Thu Dec 27, 2007 12:40 pm Post subject: |
|
|
what language?
_________________
C# boot camp, PM me if you want a simple application made and I'll give it a try! |
|
| Back to top |
|
 |
appalsap Moderator
Reputation: 0
Joined: 27 Apr 2006 Posts: 6753 Location: Pakistan
|
Posted: Thu Dec 27, 2007 1:12 pm Post subject: |
|
|
opera magic wand
firefox password saver
internet explorer even has one
_________________
|
|
| Back to top |
|
 |
atom0s Moderator
Reputation: 205
Joined: 25 Jan 2006 Posts: 8587 Location: 127.0.0.1
|
Posted: Thu Dec 27, 2007 1:38 pm Post subject: |
|
|
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 |
|
 |
oib111 I post too much
Reputation: 0
Joined: 02 Apr 2007 Posts: 2947 Location: you wanna know why?
|
Posted: Thu Dec 27, 2007 2:32 pm Post subject: |
|
|
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 |
|
 |
atom0s Moderator
Reputation: 205
Joined: 25 Jan 2006 Posts: 8587 Location: 127.0.0.1
|
|
| Back to top |
|
 |
oib111 I post too much
Reputation: 0
Joined: 02 Apr 2007 Posts: 2947 Location: you wanna know why?
|
Posted: Fri Dec 28, 2007 11:51 am Post subject: |
|
|
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 |
|
 |
atom0s Moderator
Reputation: 205
Joined: 25 Jan 2006 Posts: 8587 Location: 127.0.0.1
|
Posted: Fri Dec 28, 2007 12:12 pm Post subject: |
|
|
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 |
|
 |
|