| Package | com.hurlant.crypto.symmetric |
| Class | public class DESKey |
| Implements | ISymmetricKey |
| Subclasses | TripleDESKey |
| Property | Defined by | ||
|---|---|---|---|
| decKey : Array | DESKey | ||
| encKey : Array | DESKey | ||
| key : ByteArray | DESKey | ||
| Method | Defined by | ||
|---|---|---|---|
|
DESKey(key:ByteArray)
| DESKey | ||
|
decrypt(block:ByteArray, index:uint = 0):void
| DESKey | ||
|
dispose():void
| DESKey | ||
|
encrypt(block:ByteArray, index:uint = 0):void
| DESKey | ||
|
getBlockSize():uint
| DESKey | ||
|
toString():String
| DESKey | ||
| Method | Defined by | ||
|---|---|---|---|
|
desFunc(wKey:Array, inp:ByteArray, inOff:uint, out:ByteArray, outOff:uint):void
the DES engine.
| DESKey | ||
|
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 | ||
| decKey | property |
protected var decKey:Array
| encKey | property |
protected var encKey:Array
| key | property |
protected var key:ByteArray
| DESKey | () | constructor |
public function DESKey(key:ByteArray)Parameters
key:ByteArray |
| decrypt | () | method |
public function decrypt(block:ByteArray, index:uint = 0):voidParameters
block:ByteArray |
|
index:uint (default = 0) |
| desFunc | () | method |
protected function desFunc(wKey:Array, inp:ByteArray, inOff:uint, out:ByteArray, outOff:uint):voidthe DES engine.
ParameterswKey:Array |
|
inp:ByteArray |
|
inOff:uint |
|
out:ByteArray |
|
outOff:uint |
| dispose | () | method |
public function dispose():void
| encrypt | () | method |
public function encrypt(block:ByteArray, index:uint = 0):voidParameters
block:ByteArray |
|
index:uint (default = 0) |
| generateWorkingKey | () | method |
protected function generateWorkingKey(encrypting:Boolean, key:ByteArray, off:uint):Arraygenerate an integer based working key based on our secret key and what we processing we are planning to do. Acknowledgements for this routine go to James Gillogly & Phil Karn.
Parametersencrypting:Boolean |
|
key:ByteArray |
|
off:uint |
Array |
| getBlockSize | () | method |
public function getBlockSize():uint
Returns
uint |
| toString | () | method |
public function toString():String
Returns
String |