This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

decrypt key

Old posts that have not been replied to for several years.
Locked
T
THUGNATURE
Voice
Posts: 13
Joined: Tue Apr 08, 2003 9:14 am

decrypt key

Post by THUGNATURE »

i found out how to encrypt a tcl there is one problem though how do i add the key for the encrypted file to eggdrop so it can read the key and decrypt the file so it can load it any help or tips would be appreciated thx
d
darko``
Op
Posts: 121
Joined: Sun Sep 08, 2002 5:33 pm
Location: Malta

Post by darko`` »

There is no way to do such task. You will have to use: decrypt <key> <string>.
Alternativly, you could write and encrypt your script in such way, that every line is actually a physical line and as such feed it to encrypt command. Then write the output to a file, exactly one string per line. You can then feed that file to decryption program that will read it into variable and then eval that variable.
Ignorant and lazy people will save 30 minutes by chosing simple config file. Smart ones will save 3000 minutes of *everyone's* time by opting for complete config file.
Locked