Important
New database features are no longer connected to engine versions; features are now enabled independently during scheduled update windows, and “major” and “minor” releases no longer exist in Helios. Please visit the release notes to view the latest features available in your database clusters.
CRC32
On this page
The CRC32() function hashes the given string or binary data using the CRC32C (Castagnoli CRC32) algorithm.
Syntax
CRC32(plaintext);
Arguments
-
plaintext: the data to hash.
Return Type
Integer
Examples
SELECT CRC32('ohai');
+---------------+
| CRC32('ohai') |
+---------------+
| 1335520080 |
+---------------+Last modified: