| Method | Defined by | ||
|---|---|---|---|
|
XTeaKey(a:ByteArray)
| XTeaKey | ||
|
decrypt(block:ByteArray, index:uint = 0):void
| XTeaKey | ||
|
dispose():void
| XTeaKey | ||
|
encrypt(block:ByteArray, index:uint = 0):void
| XTeaKey | ||
|
getBlockSize():uint
| XTeaKey | ||
|
[static]
K is an hex string with 32 digits.
| XTeaKey | ||
|
toString():String
| XTeaKey | ||
| Constant | Defined by | ||
|---|---|---|---|
| NUM_ROUNDS : uint = 64 | XTeaKey | ||
| XTeaKey | () | constructor |
public function XTeaKey(a:ByteArray)Parameters
a:ByteArray |
| decrypt | () | method |
public function decrypt(block:ByteArray, index:uint = 0):voidParameters
block:ByteArray |
|
index:uint (default = 0) |
| dispose | () | method |
public function dispose():void
| encrypt | () | method |
public function encrypt(block:ByteArray, index:uint = 0):voidParameters
block:ByteArray |
|
index:uint (default = 0) |
| getBlockSize | () | method |
public function getBlockSize():uint
Returns
uint |
| parseKey | () | method |
public static function parseKey(K:String):XTeaKeyK is an hex string with 32 digits.
ParametersK:String |
XTeaKey |
| toString | () | method |
public function toString():String
Returns
String |
| NUM_ROUNDS | constant |
public const NUM_ROUNDS:uint = 64