A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://www.w3resource.com/mysql/encryption-and-compression-functions/md5().php below:

Website Navigation


MySQL md5() - w3resource

MySQL MD5() functionLast update on August 08 2023 12:39:49 (UTC/GMT +8 hours) MD5() function

MySQL MD5() Calculates an MD5 128-bit checksum for a string. The value is returned as a binary string of 32 hex digits, or NULL if the argument was NULL. The return value can, for example, be used as a hash key.

Syntax:

MD5(str);

Argument:

Name Description str A string whose MD5 value is to be calculated.

Syntax Diagram:

MySQL Version: 8.0

Example:

Code:

SELECT MD5('w3resource'); 

Explanation:

The above MySQL statement returns MD5 value of w3resource. The return value is b273cb2263eb88f61f7133cd308b4064.

Output:

mysql> SELECT MD5('w3resource'); 
+----------------------------------+
| MD5('w3resource')                |
+----------------------------------+
| b273cb2263eb88f61f7133cd308b4064 | 
+----------------------------------+
1 row in set (0.04 sec)

Previous: ENCRYPT()
Next: OLD_PASSWORD()




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4