\CryptoManana\Core\Traits\MessageDigestionDerivationDigestLengthTrait

Trait DerivationDigestLengthTrait - Reusable implementation of `DerivationDigestLengthInterface`.

Summary

Methods
Properties
Constants
setOutputLength()
getOutputLength()
$$outputLength
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$$outputLength

$$outputLength : integer

The derivation output digest size in bytes length property storage.

Type

integer

Methods

setOutputLength()

setOutputLength(integer  $byteLength) : $this

Setter for the derivation output digest size in bytes length property.

Parameters

integer $byteLength

The derivation output digest size in bytes length.

Throws

\Exception

Validation errors.

Returns

$this —

The hash algorithm object.

getOutputLength()

getOutputLength() : integer

Getter for the derivation output digest size in bytes length property.

Returns

integer —

The derivation output digest size in bytes length.