\CryptoManana\Core\Traits\MessageDigestionDerivationIterationControlTrait

Trait DerivationIterationControlTrait - Reusable implementation of `DerivationIterationControlInterface`.

Summary

Methods
Properties
Constants
setDerivationIterations()
getDerivationIterations()
$$numberOfIterations
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$$numberOfIterations

$$numberOfIterations : integer

The derivation internal iteration count property storage.

Type

integer

Methods

setDerivationIterations()

setDerivationIterations(integer  $numberOfIterations) : $this

Setter for the derivation internal iteration count property.

Parameters

integer $numberOfIterations

The number of internal iterations to perform.

Throws

\Exception

Validation errors.

Returns

$this —

The hash algorithm object.

getDerivationIterations()

getDerivationIterations() : integer

Getter for the derivation internal iteration count property.

Returns

integer —

The number of internal iterations to perform.