Топ-100
 
CerebroSQL

CREATE_DIGEST

Database: MySQL

68747470733a2f2f7374796c65732e7265646469746d656469612e636f6d2f74355f32716d366b2f7374796c65

Topic

Syntax:
create_digest(digest_type, str)

Creates a digest from the given string using the given digest type, and
returns the digest as a binary string. If digest generation fails, the
result is NULL.

Supported digest_type values: 'SHA224', 'SHA256', 'SHA384', 'SHA512'

Example

SET @dig = create_digest('SHA512', The quick brown fox');