\CryptoManana\Core\Interfaces\MessageDigestionComplexAlgorithmicCostInterface

Interface ComplexAlgorithmicCostInterface - Interface for complex algorithmic cost tuning capabilities.

Summary

Methods
Constants
setMemoryCost()
getMemoryCost()
setTimeCost()
getTimeCost()
setThreadsCost()
getThreadsCost()
MINIMUM_MEMORY_COST
MAXIMUM_MEMORY_COST
MINIMUM_TIME_COST
MAXIMUM_TIME_COST
MINIMUM_THREADS_COST
MAXIMUM_THREADS_COST
No protected methods found
N/A
No private methods found
N/A

Constants

MINIMUM_MEMORY_COST

MINIMUM_MEMORY_COST

The minimum time cost for computations.

MAXIMUM_MEMORY_COST

MAXIMUM_MEMORY_COST

The maximum time cost for computations.

MINIMUM_TIME_COST

MINIMUM_TIME_COST

The minimum time cost for computations.

MAXIMUM_TIME_COST

MAXIMUM_TIME_COST

The maximum time cost for computations.

MINIMUM_THREADS_COST

MINIMUM_THREADS_COST

The minimum threads cost for computations.

MAXIMUM_THREADS_COST

MAXIMUM_THREADS_COST

The maximum threads cost for computations.

Methods

setMemoryCost()

setMemoryCost(integer  $cost) 

Setter for the memory cost property.

Parameters

integer $cost

The algorithmic memory cost.

Throws

\Exception

Validation errors.

getMemoryCost()

getMemoryCost() : integer

Getter for the memory cost property.

Returns

integer —

The algorithmic memory cost.

setTimeCost()

setTimeCost(integer  $cost) 

Setter for the time cost property.

Parameters

integer $cost

The algorithmic time cost.

Throws

\Exception

Validation errors.

getTimeCost()

getTimeCost() : integer

Getter for the time cost property.

Returns

integer —

The algorithmic time cost.

setThreadsCost()

setThreadsCost(integer  $cost) 

Setter for the threads cost property.

Parameters

integer $cost

The algorithmic threads cost.

Throws

\Exception

Validation errors.

getThreadsCost()

getThreadsCost() : integer

Getter for the threads cost property.

Returns

integer —

The algorithmic threads cost.