\CryptoManana\Core\Interfaces\MessageDigestionDerivationDigestLengthInterface

Interface DerivationDigestLengthInterface - Interface for derivation digest length control capabilities.

Summary

Methods
Constants
setOutputLength()
getOutputLength()
ALGORITHM_MAXIMUM_OUTPUT
No protected methods found
N/A
No private methods found
N/A

Constants

ALGORITHM_MAXIMUM_OUTPUT

ALGORITHM_MAXIMUM_OUTPUT

The internal maximum length in bytes of the output digest for the algorithm.

Methods

setOutputLength()

setOutputLength(integer  $byteLength) 

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.

getOutputLength()

getOutputLength() : integer

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

Returns

integer —

The derivation output digest size in bytes length.