SHA1
Syntax
Description
Calculates an SHA-1 160-bit checksum for the string str
, as described in
RFC 3174 (Secure Hash Algorithm).
The value is returned as a string of 40 hex digits, or NULL if the argument was NULL. As of MariaDB 5.5, the return value is a nonbinary string in the connection character set and collation, determined by the values of the character_set_connection and collation_connection system variables. Before 5.5, the return value was a binary string.
Examples
This page is licensed: GPLv2, originally from fill_help_tables.sql
Last updated
Was this helpful?