Implements a checksum algorithm that computes the XOR of all bytes.
DEFINITION
class ChecksumAlgorithmXor;
constructor ChecksumAlgorithmXor
DEFINITION
|
ChecksumAlgorithmXor |
( |
Symbol name | ); |
| PARAMETER | DESCRIPTION |
name |
|
method computevirtual
DEFINITION
|
virtual std::string compute |
( |
std::string::const_iterator begin, |
| | std::string::const_iterator end, |
| | const std::unordered_map< Symbol, Value > & parameters | ); |
| PARAMETER | DESCRIPTION |
begin |
|
end |
|
parameters |
|
| RETURNS | DESCRIPTION |
std::string |
|
method createstatic
DEFINITION
|
static std::shared_ptr< ChecksumAlgorithm > create |
( |
Symbol algorithm_name | ); |
| PARAMETER | DESCRIPTION |
algorithm_name |
|
| RETURNS | DESCRIPTION |
std::shared_ptr< ChecksumAlgorithm > |
|
method result_sizevirtual
DEFINITION
|
virtual uint64_t result_size |
( |
); |
| RETURNS | DESCRIPTION |
uint64_t |
|