Back

CreateCrypt

Crypt creates a Crypt object to encrypt or decrypt a string with a given key or create a hash of it.

app.CreateCrypt( options ) -> app object - Crypt

The following methods are avaiable on the Crypt object:

  Decrypt( text, password ) -> string
  Destroy()
  Encrypt( text, password ) -> string
  GetType() -> string - "Crypt"
  Release()
  id -> string - "#id"

unknown
string
decrypt text with key
destroys object
encrypt text with key
string - "MD5" or "?"
one-way encryption
?
object id