#include <sha1.h>
Public Member Functions | |
Construction | |
| CL_SHA1 () | |
| Constructs a SHA-1 hash generator. | |
Attributes | |
| CL_String8 | get_hash (bool uppercase=false) |
| Returns the calculated hash. | |
| void | get_hash (unsigned char out_hash[20]) |
| Get hash. | |
Operations | |
| void | reset () |
| Resets the hash generator. | |
| void | add (const void *data, int size) |
| Adds data to be hashed. | |
| void | add (const CL_DataBuffer &data) |
| Add. | |
| void | calculate () |
| Finalize hash calculation. | |
|
|
Constructs a SHA-1 hash generator.
|
|
|
Add.
|
|
||||||||||||
|
Adds data to be hashed.
|
|
|
Finalize hash calculation.
|
|
|
Get hash.
|
|
|
Returns the calculated hash.
|
|
|
Resets the hash generator.
|
1.4.6