Methods
get() → {string}
Calculates and returns the checksum for the previously set file
Returns:
The calculated checksum
- Type
- string
method(algorithm) → {Checksum}
Sets the used checksum algorithm
Parameters:
Name | Type | Description |
---|---|---|
algorithm |
string | The used algorithm (e.g. "SHA") |
Returns:
The Checksum object
- Type
- Checksum
of(file) → {Checksum}
Sets the file for which the checksum shall be computed
Parameters:
Name | Type | Description |
---|---|---|
file |
string | The file for which the checksum shall be computed |
Returns:
The Checksum object
- Type
- Checksum
wizard(wizard) → {Checksum}
Sets the setup wizard
Parameters:
Name | Type | Description |
---|---|---|
wizard |
SetupWizard | The setup wizard |
Returns:
The Checksum object
- Type
- Checksum