\CryptoManana\Core\Traits\MessageDigestionDerivationSaltingTrait

Trait SaltingCapabilitiesTrait - Reusable implementation of `DerivationSaltingInterface`.

Summary

Methods
Properties
Constants
setDerivationSalt()
getDerivationSalt()
$$derivationSalt
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$$derivationSalt

$$derivationSalt : string

The derivation salt string property storage.

Type

string

Methods

setDerivationSalt()

setDerivationSalt(string  $derivationSalt) : $this

Setter for the derivation salt string property.

Parameters

string $derivationSalt

The derivation salt string.

Throws

\Exception

Validation errors.

Returns

$this —

The hash algorithm object.

getDerivationSalt()

getDerivationSalt() : string

Getter for the derivation salt string property.

Returns

string —

The derivation salt string.