Dostupnost ve verzích: PHP 4.3.0
Calculate the sha1 hash of a string
Parametr | Datový typ | Výchozí hodnota | Poznámka |
---|---|---|---|
$str |
string |
není | Zpracovávaný řetězec. |
$raw_output |
bool |
null | If the optional raw_output is set to true, then the sha1 digest is instead returned in raw binary format with a length of 20, otherwise the returned value is a 40-character hexadecimal number. |
string
the sha1 hash as a string.
Oficiální dokumentace funkce sha1
Jan Barášek Více o autorovi
Autor článku pracuje jako seniorní vývojář a software architekt v Praze. Navrhuje a spravuje velké webové aplikace, které znáte a používáte. Od roku 2009 nabral bohaté zkušenosti, které tímto webem předává dál.
Rád vám pomůžu:
Články píše Jan Barášek © 2009-2025 | Kontakt | Mapa webu
Status | Aktualizováno: ... | cs