A hash context. More...
Public Member Functions | |
| fm.liveswitch.DataBuffer | compute (fm.liveswitch.DataBuffer input) |
| Computes the hash. More... | |
| fm.liveswitch.DataBuffer | compute (String inputString) |
| Computes the hash. More... | |
| void | destroy () |
| Destroys this instance. More... | |
| fm.liveswitch.HashType | getType () |
| Gets the type. More... | |
| HashContextBase (fm.liveswitch.HashType type) | |
| Initializes a new instance of the fm.liveswitch.HashContextBase class. More... | |
Static Public Member Functions | |
| static fm.liveswitch.DataBuffer | compute (fm.liveswitch.HashType type, fm.liveswitch.DataBuffer input) |
| Computes the hash for a given type. More... | |
| static fm.liveswitch.DataBuffer | compute (fm.liveswitch.HashType type, String inputString) |
| Computes the hash for a given type. More... | |
Protected Member Functions | |
| abstract fm.liveswitch.DataBuffer | doCompute (fm.liveswitch.DataBuffer input) |
| Computes the hash. More... | |
| abstract void | doDestroy () |
| Destroys this instance. More... | |
A hash context.
| fm.liveswitch.HashContextBase.HashContextBase | ( | fm.liveswitch.HashType | type | ) |
Initializes a new instance of the fm.liveswitch.HashContextBase class.
| type | The type. |
| fm.liveswitch.DataBuffer fm.liveswitch.HashContextBase.compute | ( | fm.liveswitch.DataBuffer | input | ) |
Computes the hash.
| input | The input. |
|
static |
Computes the hash for a given type.
| type | The type. |
| input | The input. |
|
static |
Computes the hash for a given type.
| type | The type. |
| inputString | The input string. |
| fm.liveswitch.DataBuffer fm.liveswitch.HashContextBase.compute | ( | String | inputString | ) |
Computes the hash.
| inputString | The input. |
| void fm.liveswitch.HashContextBase.destroy | ( | ) |
Destroys this instance.
|
abstractprotected |
Computes the hash.
| input | The input. |
|
abstractprotected |
Destroys this instance.
Reimplemented in fm.liveswitch.HashContext.
| fm.liveswitch.HashType fm.liveswitch.HashContextBase.getType | ( | ) |
Gets the type.