Class smd5
Calculates a salted MD-5 hash of arbitrary input data. The hash seed is automatically generated from random data.
- Core\Object implements Core\Chainable
-
Core\Set
implements
Core\Accessor
-
Core\Set\Mutable
implements
Core\Mutator
-
Core\Field
implements
Core\Inquiry
-
Core\Encoder
-
Core\Encoder\Driver\smd5
Package: Core\Encoder
Since: 3.1
Requires: PHP 5.3
Version: 1.0
Located at Encoder/Driver/smd5.inc.php
Methods summary
public
|
|
public
boolean
|
|
public
boolean
|
#
verify( string $input, string $output )
Verifies that this encoder applied to given input data yields the given output data. |
protected
string
|
Methods inherited from Core\Encoder
__construct(),
__invoke(),
autocreate(),
chain(),
decoderChainURI(),
encode(),
encoderChainURI(),
getDataForUndefinedKey(),
resolveDecoder(),
resolveDecoderChain()
Methods inherited from Core\Field
getDataForKey(),
getDataForKeys(),
issetDataForKey(),
offsetExists(),
offsetGet(),
offsetSet(),
offsetUnset()
Methods inherited from Core\Set\Mutable
Methods inherited from Core\Object
__autocreateFactory(),
__call(),
__processParameters(),
__toString(),
attachMethod(),
getValueForKey(),
getValueForKeyPath(),
getValueForUndefinedKey(),
hash(),
issetValueForKey(),
setValueForKey(),
setValueForKeyPath(),
setValueForUndefinedKey(),
uuid()
Constants summary
integer |
DefaultSaltLength
The default salt length used for encoding operations. This value has no effect on hash verification as the length of the salt used in a hash is automatically calculated. |
#
8
|
Constants inherited from Core\Encoder
Constants inherited from Core\Object
AnyParameterType,
AutochainParameterType,
AutocreateParameterType,
BooleanParameterType,
CharParameterType,
EnumParameterType,
IntegerParameterType,
RealParameterType,
StringParameterType,
UserParameterType