crc16 Implemenation of the CRC16 CCITT-FALSE function for MySQL / MariaDB and for php SELECT HEX(CRC16('bashtest')); result: hex(CRC16('bashtest')) 33D0 Use https://crccalc.com/ for testing.