Login | |
|
 |
RE: Encrypt a string - 8/5/2008 3:13:45 AM
|
|
 |
|
| |
robszar
Posts: 182
Score: 0
Joined: 2/27/2005
From:
Status: offline
|
why the password? how about 2 separate functions, 1 to encrypt 1 to decrypt, no password I can't seem to get this working like that, the only thing I can do is pass a plain text word and encrypted it then back again....
|
|
| |
|
|
|
 |
RE: Encrypt a string - 8/5/2008 4:46:44 PM
|
|
 |
|
| |
DiGiTAL.SkReAM
Posts: 1184
Score: 7
Joined: 9/6/2005
From: Florida, USA
Status: offline
|
The password tells the script what to accept as a decryption key. For example, what good is a file that is "encrypted' if anyone can just come up and tell it "decrypt yourself" with no passsword, and it just does it? Alternateively, if someone does that, and the file requires a particular password to decrypt the file, then it should be somewhat secure. If you aren't using a password, and your scripts don't requiire a password to "encode" & "decode", then you aren't encrypting, your just running some substitiution scheme, like ROT13 or base64. And those are about as secure as US Weapons Secrets in Bill Clinton's hands while visiting the Chinese! So there. edit: Wow, I was zonked out last night
< Message edited by DiGiTAL.SkReAM -- 8/6/2008 12:12:25 AM >
_____________________________
"Would you like to touch my monkey?" - Dieter (Mike Meyers) "It is better to die like a tiger, than to live like a pussy." -Master Wong, from Balls of Fury
|
|
| |
|
|
|
| |
|
|
 |
|
 |
|
|