encrypt and decrypt on iOS

Dar Scott dsc at swcp.com
Sat Apr 26 11:31:08 EDT 2014


On Apr 26, 2014, at 7:52 AM, Mike Kerner <MikeKerner at roadrunner.com> wrote:
> The syntax looks like this, assuming:
> * The data you want to encrypt is in "what"
> * The cipher you want to use is aes-256
> * The key you want to use to do the encryption is in "theKey"
> 
> 
> encrypt what using "aes-256-cbc" with theKey
> put base64encode(it) into what #v. 1.6 was bit16


I didn’t realize the syntax allowed [key|passphrase] to be optional.

Which is the default?  

The variable “theKey” suggests key, but the usage implies passphrase.

Dar




More information about the use-livecode mailing list