Logo KRISTOFFER BOHMANN  [BETA]
  • Forside
  • Om KB
  • Kompetencer
  • Referencer
Strings
addcslashes
addslashes
bin2hex
chop
chr
chunk_split
convert_cyr_string
convert_uudecode
convert_uuencode
count_chars
crc32
crypt
echo
explode
fprintf
get_html_translation_table
hebrev
hebrevc
htmlentities
htmlspecialchars
htmlspecialchars_decode
html_entity_decode
implode
join
lcfirst
levenshtein
localeconv
ltrim
md5
md5_file
metaphone
money_format
nl2br
nl_langinfo
number_format
ord
parse_str
print
printf
quoted_printable_decode
quoted_printable_encode
quotemeta
Replacement order gotcha
rtrim
setlocale
sha1
sha1_file
similar_text
soundex
sprintf
sscanf
strcasecmp
strchr
strcmp
strcoll
strcspn
stripcslashes
stripos
stripslashes
strip_tags
stristr
strlen
strnatcasecmp
strnatcmp
strncasecmp
strncmp
strpbrk
strpos
strrchr
strrev
strripos
strrpos
strspn
strstr
strtok
strtolower
strtoupper
strtr
str_getcsv
str_ireplace
str_pad
str_repeat
str_rot13
str_shuffle
str_split
str_word_count
substr
substr_compare
substr_count
substr_replace
trim
ucfirst
ucwords
vfprintf
vprintf
vsprintf
wordwrap
Home > PHP > Function > Strings > md5()

md5()

md5 - Calculate the md5 hash of a string

Syntax

string md5 (string $str, bool $raw_output)

Arguments

  • str - The string.
  • raw_output - 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.

Description

Calculates the MD5 hash of str using the » RSA Data Security, Inc. MD5 Message-Digest Algorithm, and returns that hash.

Version

PHP 4, 5

Return value

Returns the hash as a 32-character hexadecimal number.
Kristoffer Bohmann, Ved Bjerget 12, DK- 9530 Støvring, Telefon +45 29 79 39 19, E-mail: