Gen. partnerAlgotech

PHP funkce sha1()

Calculate the sha1 hash of a string

|
11. září 2019

Dostupnost ve verzích: PHP 4.3.0

Calculate the sha1 hash of a string

Parametry

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.

Další zdroje

Oficiální dokumentace funkce sha1

Načítání komentářů...

Zůstaňte v obraze

Přihlaste se k odběru našeho newsletteru a získejte nejnovější informace o kybernetické bezpečnosti přímo do vaší e-mailové schránky.

Vaše údaje jsou v bezpečí. Newsletter můžete kdykoliv odhlásit.