Can you code? From your !getowner command, I would say no. Ask Matt though, I'm just rambing.... _________________ ~ Josh
[ Need bot hosting on a dedicated server? PM me. ]
Joined: 15 Mar 2004 Posts: 661 Location: Manchester, UK
Posted: Wed Jan 26, 2005 7:36 pm Post subject:
I'll do some testing if you want. Im learning TK at the moment so I wont be much help in the coding way as I know nothing about it. _________________ MSN: gavin [at] gavinbrittain [dot] co [dot] uk
E-Portfolio: www.gavinbrittain.co.uk (New version comming soon)
MD5 encryption rawks. It's algorythm is so complicated, it is almost impossible to decypher, and yet is very easy to use .
MD5 is one-way encryption...
You can't get the password back by simply 'decoding' it, you can however compare an entered pass with the one stored in a database for example.
So, for using a retrievable password that's obfuscated in the ini file (like for example auto-saved passwords), there is no full-proof cyphering protocol that can not be reversed (since you need to reverse it yourself and the code will be open).
You can however use a SALT with your cyphering code and depend this SALT on a system parameter that is unique to the system it is run on (hopefully always staying the same). Then, when your client with its ini is run on another pc, and you can't decypher it using that SALT (since it would be different), you fail back to no password and ask the user to provide his/hers.
The most easy cyphering would be to juggle the ASCII values of the letters a bit (using the SALT as the dynamic parameter)...
I've been busy for a while with some of the well known encryption and cyphering methods, and even wrote some myself. So if you need help defining a good method, i'm all ears.
An interesting Perl module I saw once is Acme::Bleach, it converts your fully working Perl code into a series of white spaces (tabs, spaces, etc.). If you view the source of the code, it will look blank... selecting it will show that there are lots of spaces there.
The code would look like this afterwards:
Code:
use Acme::Bleach;<br /><br /><br /><br /><br /><br /><br />
(I didn't include white spaces there because this forum would probably take them away for being pointless ).
Anyways, in the file that stores passwords and stuff, you could make it an external Perl file, that looks something like this:
Code:
use Acme::Bleach;<br /><br />$pimp->{stored_names}->{'name@domain.com'} = 'password';
And then when the code is require'd, it should execute Acme::Bleach and white-out the code.
Acme::Bleach can probably be deciphered too, but that in addition to other encryptions with the password itself (and have the password decoder be bleached too, just to add to the "fun")... it should keep the passwords relatively secure. _________________ Current Site (2008) http://www.cuvou.com/
Joined: 14 Feb 2004 Posts: 195 Location: United Kingdom, Europe, Earth, Solar system, The Milky Way, The Universe, the 3rd Dimension.
Posted: Mon Feb 14, 2005 7:01 pm Post subject:
*volunteers to beta test but goes OTT*
OOOOOOH! Pick me! *raises hand* Pick me! PLEASE! MEEE!! I want to Beta Test/Code/do something useful! MEEEEEEEEEEEEE!
I could open an official support forum... or beta test... or code in it... or build a good skin for it... the possibilities are endless!!!! I could do all of them!