| Package | com.hurlant.crypto.symmetric |
| Class | public class DESKey |
| Inheritance | DESKey Object |
| 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)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.
Parameters
wKey: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):ArrayParameters
encrypting:Boolean | |
key:ByteArray | |
off:uint |
Array |
| getBlockSize | () | method |
public function getBlockSize():uintReturnsuint |
| toString | () | method |
public function toString():StringReturnsString |