next up previous contents
Next: blowfishDecode Up: Methods Previous: Methods   Contents


blowfishEncode

Description

Do blowfish encode.


Syntax

Encryption.blowfishEncode(key, string);


Parameters

key
String. An unique key used to encode or decode the messages
string
String. The message to encode


Returns

String. You can get the original message by calling the blowfishDecode method with the same key and the returned string value.


Examples

trace(Encryption.blowfishEncode("test",
    "message"));
trace(Encryption.blowfishDecode("test",
    "2KRNdy7o/90="));




Copyright ©2000-2010 Shanghai TopCMM Software Technologies. All Rights Reserved.