\CryptoManana\Core\Interfaces\MessageDigestionAlgorithmicCostInterface

Interface AlgorithmicCostInterface - Interface for algorithmic cost tuning capabilities.

Summary

Methods
Constants
setAlgorithmicCost()
getAlgorithmicCost()
MINIMUM_ALGORITHMIC_COST
MAXIMUM_ALGORITHMIC_COST
No protected methods found
N/A
No private methods found
N/A

Constants

MINIMUM_ALGORITHMIC_COST

MINIMUM_ALGORITHMIC_COST

The minimum algorithmic cost for computations.

MAXIMUM_ALGORITHMIC_COST

MAXIMUM_ALGORITHMIC_COST

The maximum algorithmic cost for computations.

Methods

setAlgorithmicCost()

setAlgorithmicCost(integer  $cost) 

Setter for the algorithmic/algorithmic cost property.

Parameters

integer $cost

The algorithmic cost.

Throws

\Exception

Validation errors.

getAlgorithmicCost()

getAlgorithmicCost() : integer

Getter for the computational/algorithmic cost property.

Returns

integer —

The algorithmic cost.