mIRC Home    About    Download    Register    News    Help

Print Thread
#148477 06/05/06 04:08 PM
Joined: Sep 2004
Posts: 200
I
IR_n00b Offline OP
Fjord artisan
OP Offline
Fjord artisan
I
Joined: Sep 2004
Posts: 200
I've decided to make an addon that will provide users with an option to encrypt the data that they save, so they will need to provide the password to retrive the data.

I'm not that good with encryption, but I know some basics.

I'd appriciate any examples, or tips (note: I don't want to need to use a DLL).

Thanks in advance. grin

Example just in case:

3 or 4 people use the same computer, same mIRC, ect.
#1 dosen't want the others to use his data, but he has no way of encrypting it. (I.E a auto-id script, with his password stored.)
#2 finds out #1's password and 'acts' like he is #1 and messes some things up.

With the script, #1 could encrypt the data, and hinder #2 or any of the others from using his auto-id (just the data would need to be encrypted.

#148478 06/05/06 04:52 PM
Joined: Nov 2005
Posts: 105
D
Vogon poet
Offline
Vogon poet
D
Joined: Nov 2005
Posts: 105
That still wouldn't be fool proof. Anyone that's able to look at the script code, could easily figure out how to backtrack it, and get the actual password. Windows allows you to set different logins that's able to protect your files. Don't share window logins, and you should be fine, unless one of the users has administrative rights. And if that's the case, don't store your passwords.

#148479 06/05/06 06:41 PM
Joined: Sep 2004
Posts: 200
I
IR_n00b Offline OP
Fjord artisan
OP Offline
Fjord artisan
I
Joined: Sep 2004
Posts: 200
I am aware of that, but in the case of one being an administrator, that is the purpose of the script.
It could also redownload the .mrc file that handles the password each time (and delete it after its done) to prevent it from being modified (assuming that the script wouldn't exeed a few KBs, could also archive it).

#148480 06/05/06 10:37 PM
Joined: Sep 2003
Posts: 4,230
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
You can encrypt files using something as simple and pkzip just password the files

If u want to do it all in scripting, then you could just allow them to enter a password, then xor the file using the byte values of the password (or a hashed value from it)


Link Copied to Clipboard