Definition at line 5 of file ContextBasedInterface.php.
| fpoirotte\Cryptal\ContextBasedInterface::__toString |
( |
| ) |
|
Finalize the computation using the current context and return the value resulting from the computation, in hexadecimal form.
- Return values
-
| string | Value resulting from the computation. |
| fpoirotte\Cryptal\ContextBasedInterface::finalize |
( |
|
$raw = false | ) |
|
Finalize the computation and return the resulting value.
- Parameters
-
| bool | $raw | (optional) Whether the result should be returned in its raw form (true) or using its hexadecimal representation (false). Defaults to false. |
- Return values
-
| string | Value resulting from the computation. |
| fpoirotte\Cryptal\ContextBasedInterface::update |
( |
|
$data | ) |
|
Update the internal state using the given data.
- Parameters
-
| string | $data | Additional data to process. |
- Return values
-
| object | Returns this instance. |
The documentation for this interface was generated from the following file: