| Package | com.hurlant.crypto.symmetric |
| Interface | public interface ISymmetricKey |
| Implementors | AESKey, BlowFishKey, DESKey, XTeaKey |
| Method | Defined by | ||
|---|---|---|---|
|
decrypt(block:ByteArray, index:uint = 0):void
Decrypt one block of data in "block", starting at "index", of length "getBlockSize()"
| ISymmetricKey | ||
|
dispose():void
Attempts to destroy sensitive information from memory, such as encryption keys.
| ISymmetricKey | ||
|
encrypt(block:ByteArray, index:uint = 0):void
Encrypt one block of data in "block", starting at "index", of length "getBlockSize()"
| ISymmetricKey | ||
|
getBlockSize():uint
Returns the block size used by this particular encryption algorithm
| ISymmetricKey | ||
|
toString():String
| ISymmetricKey | ||
| decrypt | () | method |
public function decrypt(block:ByteArray, index:uint = 0):voidDecrypt one block of data in "block", starting at "index", of length "getBlockSize()"
Parametersblock:ByteArray |
|
index:uint (default = 0) |
| dispose | () | method |
public function dispose():voidAttempts to destroy sensitive information from memory, such as encryption keys. Note: This is not guaranteed to work given the Flash sandbox model.
| encrypt | () | method |
public function encrypt(block:ByteArray, index:uint = 0):voidEncrypt one block of data in "block", starting at "index", of length "getBlockSize()"
Parametersblock:ByteArray |
|
index:uint (default = 0) |
| getBlockSize | () | method |
public function getBlockSize():uintReturns the block size used by this particular encryption algorithm
Returnsuint |
| toString | () | method |
public function toString():String
Returns
String |