\CryptoManana\Core\Traits\MessageDigestionDerivationContextTrait

Trait DerivationContextTrait - Reusable implementation of `DerivationContextInterface`.

Summary

Methods
Properties
Constants
setContextualString()
getContextualString()
$$contextualString
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$$contextualString

$$contextualString : string

The derivation context/application information string property storage.

Type

string

Methods

setContextualString()

setContextualString(string  $contextualString) : $this

Setter for the derivation context/application information string property.

Parameters

string $contextualString

The derivation context/application information string.

Throws

\Exception

Validation errors.

Returns

$this —

The hash algorithm object.

getContextualString()

getContextualString() : string

Getter for the derivation context/application information string property.

Returns

string —

The derivation context/application information string.