Classe TDWDCP_hash
Unit
DWDCPcrypt2
Declaração
type TDWDCP_hash = class(TComponent)
Descrição
Hierarquia
- TObject
- TPersistent
- TComponent
- TDWDCP_hash
Visão Geral
Campos
Métodos
Propriedades
Descrição
Campos
 |
fInitialized: boolean; |
|
Métodos
 |
procedure DeadInt(Value: integer); |
Whether or not the algorithm has been initialized
|
 |
procedure DeadStr(Value: string); |
Knudge to display vars in the object inspector
|
 |
class function GetId: integer; virtual; |
|
 |
class function GetAlgorithm: string; virtual; |
Get the algorithm id
|
 |
class function GetHashSize: integer; virtual; |
Get the algorithm name
|
 |
class function SelfTest: boolean; virtual; |
Get the size of the digest produced - in bits
|
 |
procedure Init; virtual; |
Tests the implementation with several test vectors
|
 |
procedure Final(var Digest); virtual; |
Initialize the hash algorithm
|
 |
procedure Burn; virtual; |
Create the final digest and clear the stored information. The size of the Digest var must be at least equal to the hash size
|
 |
procedure Update(const Buffer; Size: longword); virtual; |
Clear any stored information with out creating the final digest
|
 |
procedure UpdateStream(Stream: TStream; Size: longword); |
Update the hash buffer with Size bytes of data from Buffer
|
 |
procedure UpdateStr(const Str: DWDCPRawString); overload; |
Update the hash buffer with Size bytes of data from the stream
|
 |
procedure UpdateStr(const Str: DWDCPUnicodeString); overload; |
Update the hash buffer with the string
|
 |
destructor Destroy; override; |
Update the hash buffer with the string
|
Propriedades
 |
property Id: integer read _GetId write DeadInt; |
|
 |
property Algorithm: string read _GetAlgorithm write DeadStr; |
|
 |
property HashSize: integer read _GetHashSize write DeadInt; |
|
Gerado por PasDoc 0.16.0.