Encrypt Password - Decrypt same

Dar Scott dsc at swcp.com
Mon Nov 29 16:06:21 EST 2004


On Nov 29, 2004, at 1:48 PM, Steve Bonham wrote:

> The "on closestack" script created a "settings.txt" file. But it is 
> empty.

That should be at least 24 bytes long.  It should start out with the 
word "Salted".

Add an error check:

on closestack
    encrypt fld "password" using "bf-cbc" with "Danger, Will Robinson."
    put the result
    put it into URL "binfile:settings.bin"
end closestack

Does your version support encrypt/decrypt?  What product and version do 
you have?

Dar

****************************************
     Dar Scott Consulting
     http://www.swcp.com/dsc/
     Programming Services
****************************************



More information about the use-livecode mailing list