PHP Manual

PHP function md5()

11. 09. 2019

Obsah článku

Availability in `PHP 4.0`

Calculate the md5 hash of a string

Parameters

Parameter Data type Default value Note
$str string not The string.
$raw_output bool null If the optional raw_output is set to true, then the md5 digest is instead returned in raw binary format with a length of 16.

Return values

string

The hash as a 32-character hexadecimal number.

Other resources

Official md5 documentation

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:

Související články

1.

V jiných jazycích

2.
Status:
All systems normal.
2024