Packagecom.hurlant.crypto.symmetric
Classpublic class CBCMode
InheritanceCBCMode Inheritance IVMode Inheritance Object
Implements IMode

CBC confidentiality mode. why not.



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
  
CBCMode(key:ISymmetricKey, padding:IPad = null)
CBCMode
  
decrypt(src:ByteArray):void
CBCMode
 Inherited
dispose():void
IVMode
  
encrypt(src:ByteArray):void
CBCMode
 Inherited
IVMode
  
toString():String
CBCMode
Protected Methods
 MethodDefined By
 Inherited
getIV4d():ByteArray
IVMode
 Inherited
getIV4e():ByteArray
IVMode
Constructor Detail
CBCMode()Constructor
public function CBCMode(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