\CryptoManana\Core\Interfaces\MessageDigestionAlgorithmVariationInterface

Interface AlgorithmVariationInterface - Interface for switching between different variations of an algorithm.

Summary

Methods
Constants
setAlgorithmVariation()
getAlgorithmVariation()
VERSION_ONE
VERSION_TWO
No protected methods found
N/A
No private methods found
N/A

Constants

VERSION_ONE

VERSION_ONE

The first variation setting constant.

VERSION_TWO

VERSION_TWO

The second variation setting constant.

Methods

setAlgorithmVariation()

setAlgorithmVariation(integer  $version) 

Setter for the algorithm variation version property.

Parameters

integer $version

The algorithm variation version.

Throws

\Exception

Validation errors.

getAlgorithmVariation()

getAlgorithmVariation() : integer

Getter for the algorithm variation version property.

Returns

integer —

The algorithm variation version.