Encrypt and then Decrypt - That is the question
Posted: Sat Sep 26, 2009 4:24 pm
I cannot understand the encrypt/decrypt syntax.
So for example, I want to encrypt a file called "secret" with a fixed password called "scramble"
Then to decrypt it at some other time.
The file is always the same name, same place and the password is part of the script.
I have tried:-
PUT (encrypt url "File:secret" using "scramble") into URL "File:scramble"
and
PUT URL "File:scramble" into (decrypt url "File:secret" using "scramble")
but it does not work
What should I have done?
So for example, I want to encrypt a file called "secret" with a fixed password called "scramble"
Then to decrypt it at some other time.
The file is always the same name, same place and the password is part of the script.
I have tried:-
PUT (encrypt url "File:secret" using "scramble") into URL "File:scramble"
and
PUT URL "File:scramble" into (decrypt url "File:secret" using "scramble")
but it does not work
What should I have done?