openssl

Hi
I need to encrypt/decrypt a simple document file, with a password if possible, but I don’t know how. Setting privileges isn’t secure, encapsulating files into zip’s or DMG’s too complicate for such little tasks, at last for my taste.

set e to žsecret.txt"
set f to quoted form of POSIX path of ((path to desktop)&e as text)
set cmd to ("openssl des3 -in " & f & e & " -out " & f & žsecret2.txt" as text)
do shell script cmd

returns an error. Any tips?

–edit
Stefan, thanks for the link

Hi,

take a look at this post