NativePHPHash implements Algorithm
Read onlyYes
FinalYes
Interfaces
Methods
- __construct() : mixed
- hash() : string
- xxh128() : string
Methods
__construct()
public
__construct([string $algorithm = 'xxh128' ][, bool $binary = false ][, array<string|int, mixed> $options = [] ]) : mixed
Parameters
- $algorithm : string = 'xxh128'
- $binary : bool = false
- $options : array<string|int, mixed> = []
hash()
public
hash(string $value) : string
Parameters
- $value : string
Return values
stringxxh128()
public
static xxh128(string $string) : string
Parameters
- $string : string