Packagecom.hurlant.crypto.symmetric
Interfacepublic interface ISymmetricKey
Implementors AESKey, BlowFishKey, DESKey, XTeaKey



Public Methods
 MethodDefined 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
  
Returns the block size used by this particular encryption algorithm
ISymmetricKey
  
toString():String
ISymmetricKey
Method Detail
decrypt()method
public function decrypt(block:ByteArray, index:uint = 0):void

Decrypt one block of data in "block", starting at "index", of length "getBlockSize()"

Parameters

block:ByteArray
 
index:uint (default = 0)

dispose()method 
public function dispose():void

Attempts 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):void

Encrypt one block of data in "block", starting at "index", of length "getBlockSize()"

Parameters

block:ByteArray
 
index:uint (default = 0)

getBlockSize()method 
public function getBlockSize():uint

Returns the block size used by this particular encryption algorithm

Returns
uint
toString()method 
public function toString():String

Returns
String