Page 1 of 1

Encrypt and then Decrypt - That is the question

Posted: Sat Sep 26, 2009 4:24 pm
by user#606
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?

Posted: Sun Sep 27, 2009 8:21 am
by Mark
Dear user#606,

Please report any errors and unexpected behavior instead of a simple "it doesn't work".

Best,

Mark

encrypt

Posted: Tue Sep 29, 2009 1:42 pm
by reelstuff
go to your Rev online and search for encryption there is an example stack there it is not exactly what you want but it may point you in the right direction.

Re: encrypt

Posted: Tue Sep 29, 2009 5:58 pm
by user#606
reelstuff wrote:go to your Rev online and search for encryption there is an example stack there it is not exactly what you want but it may point you in the right direction.
Thank you reelstuff, I hadn't thought of that. Most helpful!