Python md5() function

Facebooktwitterredditpinterestlinkedinmailby feather

Python md5() function

The md5() function in PHP calculates the md5 hash of a string.

Syntax

Parameter

str(required)- This parameter specifies the string.

raw_output(optional)- This parameter specifies a hex or binary output format:

  • TRUE – Raw 16 character binary format
  • FALSE – Default. 32 character hex number

Return

This function returns the hash as a 32-character hexadecimal number.

Example 1

Output

Example 2

Output

Example 3

Output

Facebooktwitterredditpinterestlinkedinmailby feather