\CryptoManana\Core\Traits\MessageDigestionDigestionKeyTrait

Trait DigestionKeyTrait - Reusable implementation of `DigestionKeyInterface`.

Summary

Methods
Properties
Constants
setKey()
getKey()
$$key
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$$key

$$key : string

The key string property storage.

Type

string

Methods

setKey()

setKey(string  $key) : $this

Setter for the key string property.

Parameters

string $key

The digestion key string.

Throws

\Exception

Validation errors.

Returns

$this —

The hash algorithm object.

getKey()

getKey() : string

Getter for the key string property.

Returns

string —

The digestion key string.