Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
Dcrypt
Str
hashSize
Dcrypt\Str::hashSize PHP Method
Str Class Documentation
Datei anzeigen
Open project: dopecode/dcrypt
hashSize()
public
static
method
Determine the length of the output of a given hash algorithm in bytes.
public
static
hashSize
(
string
$algo
) :
integer
$algo
string
Name of algorithm to look up
return
integer
public static function hashSize($algo) { return self::strlen(\hash($algo, 'hash me', true)); }
Str
equal
hashSize
strcmp
strlen
substr