Class sha1
Calculates the SHA-1 hash of input data.
Version 1.0 returned a 40-byte hexadecimal hash; this has been changed to a
20-byte binary hash (higher nibble first) in version 1.1; the hexadecimal
variant is now available under the Core\Encoder\Driver\sha1sum driver.
- 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\sha1
Direct known subclasses
Package: Core\Encoder
Since: 3.0
Requires: PHP 5.3
Version: 1.1
Located at Encoder/Driver/sha1.inc.php
Methods summary
public
|
|
public
boolean
|
|
protected
string
|
Methods inherited from Core\Encoder
__construct(),
__invoke(),
autocreate(),
chain(),
decoderChainURI(),
encode(),
encoderChainURI(),
getDataForUndefinedKey(),
resolveDecoder(),
resolveDecoderChain(),
verify()
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
Constants inherited from Core\Encoder
Constants inherited from Core\Object
AnyParameterType,
AutochainParameterType,
AutocreateParameterType,
BooleanParameterType,
CharParameterType,
EnumParameterType,
IntegerParameterType,
RealParameterType,
StringParameterType,
UserParameterType