| 
 
 | 
 | 
A class to compute and check SHA1 digests
| SHA1 () | SHA1 | 
Construct a fresh initialized instance
| SHA1 (const SHA1& original) | SHA1 | 
Copy constructor
Parameters:
| original | SHA1 instance to copy | 
| SHA1 (const void* buf, unsigned int len) | SHA1 | 
Construct a digest from a buffer of data
Parameters:
| buf | Pointer to the data to be included in digest | 
| len | Length of data in the buffer | 
| SHA1 (const DataBlock& data) | SHA1 | 
Construct a digest from a binary DataBlock
Parameters:
| data | Binary data to be included in digest | 
| SHA1 (const String& str) | SHA1 | 
Construct a digest from a String
Parameters:
| str | String to be included in digest | 
| SHA1&  operator= (const SHA1& original) | operator= | 
Assignment operator.
| ~SHA1 () | ~SHA1 | 
[virtual]
Destroy the instance, free allocated memory
| void  clear () | clear | 
[virtual]
Clear the digest and prepare for reuse
Reimplemented from Hasher.
| void  finalize () | finalize | 
[virtual]
Finalize the digest computation, make result ready. Subsequent calls to update() will fail
Reimplemented from Hasher.
| const unsigned char*  rawDigest () | rawDigest | 
[virtual]
Returns a pointer to the raw 20-byte binary value of the message digest. The digest is finalized if if wasn't already
Returns: Pointer to the raw digest data or NULL if some error occured
Reimplemented from Hasher.
| inline  unsigned int  rawLength () | rawLength | 
[static]
Return the length of the raw binary digest
Returns: Constant value of 20
| unsigned int  hashLength () | hashLength | 
[const virtual]
Return the length of the raw binary digest
Returns: Length of the digest in octets
Reimplemented from Hasher.
| bool  fips186prf (DataBlock& out, const DataBlock& seed, unsigned int len) | fips186prf | 
[static]
NIST FIPS 186-2 change notice 1 Pseudo Random Function. Uses a b=160 bits SHA1 based G(t,c) function with no XSEEDj
Parameters:
| out | Block to fill with pseudo-random data | 
| seed | Data to use as RNG seed, must be 1 to 64 octets long | 
| len | Desired output length in octets, must be 1 to 512 | 
Returns: True on success, false on invalid lengths
| bool  updateInternal (const void* buf, unsigned int len) | updateInternal | 
[protected]
Reimplemented from Hasher.
| Generated by: paulc on bussard on Fri May 8 12:37:22 2015, using kdoc 2.0a54. |