Packagecom.hurlant.crypto.symmetric
Classpublic class CTRMode
InheritanceCTRMode Inheritance IVMode Inheritance Object
Implements IMode



Public Properties
 PropertyDefined By
 InheritedIV : ByteArray
Optional function to force the IV value.
IVMode
Protected Properties
 PropertyDefined By
 InheritedblockSize : uint
IVMode
 Inheritediv : ByteArray
IVMode
 Inheritedkey : ISymmetricKey
IVMode
 InheritedlastIV : ByteArray
IVMode
 Inheritedpadding : IPad
IVMode
 Inheritedprng : Random
IVMode
Public Methods
 MethodDefined By
  
CTRMode(key:ISymmetricKey, padding:IPad = null)
CTRMode
  
decrypt(src:ByteArray):void
CTRMode
 Inherited
dispose():void
IVMode
  
encrypt(src:ByteArray):void
CTRMode
 Inherited
IVMode
  
toString():String
CTRMode
Protected Methods
 MethodDefined By
 Inherited
getIV4d():ByteArray
IVMode
 Inherited
getIV4e():ByteArray
IVMode
Constructor Detail
CTRMode()Constructor
public function CTRMode(key:ISymmetricKey, padding:IPad = null)



Parameters
key:ISymmetricKey
 
padding:IPad (default = null)
Method Detail
decrypt()method
public function decrypt(src:ByteArray):void

Parameters

src:ByteArray

encrypt()method 
public function encrypt(src:ByteArray):void

Parameters

src:ByteArray

toString()method 
public function toString():String

Returns
String