I would like to store some passwords in a database and for that encrypt them first. I think it would be better (-> safer) to store only their hashes, but the passwords shall later be used, without having to ask the user for them. So I think I need to go with encrypt/decrypt. Therefore I am starting to play with the related commands, totally failing though in the case of decryption:
Code: Select all
on mouseDown
put fld "fEncrypt" into varEncrypt
decrypt varEncrypt using "aes-256" with password "abc"
put it into fld "fDecrypt"
end mouseDown

