Class com.sekati.crypt.TEA

Implemented Interfaces

ICipher

Description

Encrypts and decrypts text with the TEA (Block) algorithm.

Method Index

decrypt(), encrypt()

Method Detail

encrypt

static public function encrypt(src:String, key:String):String

Encrypts a string with the specified key.

Parameters

src(String) string to encrypt
key(String) encryption key

Return

String

decrypt

static public function decrypt(src:String, key:String):String

Decrypts a string with the specified key.

Parameters

src(String) string to decrypt
key(String) decryption key

Return

String