Encryption.encryptString() This page was last modified over 30 day(s) ago and has 1 comment(s)

Back to Encryption Class Summary

Windows, Mac OSX, Linux

mdm.Encryption.encryptString(key:String, dataToEncrypt:String):String

key:String - Key to use with decryption.

dataToEncrypt:String - Encrypted data to decrypt.

A String

Encrypts the specified string using the specified key.

New X-Platform Encryption used which is not compatible with 3.x Encryption.

Example Code
var myEncryptedData:String = mdm.Encryption.encryptString("My Key", "My secret message");

mdm.Encryption Class Example Downloads
No Example Downloads Available

User Comment by Matteo on 12th June 2012 - 19:16
Note: the key string must not contain more than 56 chars

Registered Users must be logged in to 'MyAccount' to add a Comment - Log In Here
  After Logging In, Click Here to Refresh This Page