Method | Description | |
---|---|---|
__construct ( string $data ) | Node constructor. | |
getData ( ) : string | Get the data | |
getExpandedNode ( string $concat ) : |
Nodes are immutable, but you can create one with extra data. | |
getHash ( boolean $raw = false, integer $outputSize = Sodium\CRYPTO_GENERICHASH_BYTES, string $personalization = '' ) : string | Get a hash of the data (defaults to hex encoded) |
public getExpandedNode ( string $concat ) : |
||
$concat | string | |
return |