Packagecom.hurlant.crypto.symmetric
Classpublic class TripleDESKey
InheritanceTripleDESKey Inheritance DESKey



Protected Properties
 PropertyDefined by
 InheriteddecKey : Array
DESKey
  decKey2 : Array
TripleDESKey
  decKey3 : Array
TripleDESKey
 InheritedencKey : Array
DESKey
  encKey2 : Array
TripleDESKey
  encKey3 : Array
TripleDESKey
 Inheritedkey : ByteArray
DESKey
Public Methods
 MethodDefined by
  
TripleDESKey(key:ByteArray)
This supports 2TDES and 3TDES.
TripleDESKey
  
decrypt(block:ByteArray, index:uint = 0):void
TripleDESKey
  
dispose():void
TripleDESKey
  
encrypt(block:ByteArray, index:uint = 0):void
TripleDESKey
 Inherited
getBlockSize():uint
DESKey
  
toString():String
TripleDESKey
Protected Methods
 MethodDefined by
 Inherited
desFunc(wKey:Array, inp:ByteArray, inOff:uint, out:ByteArray, outOff:uint):void
the DES engine.
DESKey
 Inherited
generateWorkingKey(encrypting:Boolean, key:ByteArray, off:uint):Array
generate an integer based working key based on our secret key and what we processing we are planning to do.
DESKey
Property detail
decKey2property
protected var decKey2:Array
decKey3property 
protected var decKey3:Array
encKey2property 
protected var encKey2:Array
encKey3property 
protected var encKey3:Array
Constructor detail
TripleDESKey()constructor
public function TripleDESKey(key:ByteArray)

This supports 2TDES and 3TDES. If the key passed is 128 bits, 2TDES is used. If the key has 192 bits, 3TDES is used. Other key lengths give "undefined" results.

Parameters
key:ByteArray
Method detail
decrypt()method
public override function decrypt(block:ByteArray, index:uint = 0):voidParameters
block:ByteArray
 
index:uint (default = 0)
dispose()method 
public override function dispose():void
encrypt()method 
public override function encrypt(block:ByteArray, index:uint = 0):voidParameters
block:ByteArray
 
index:uint (default = 0)
toString()method 
public override function toString():String

Returns
String