mysql> mysql> SELECT SHA1('abc'); +------------------------------------------+ | SHA1('abc') | +------------------------------------------+ | a9993e364706816aba3e25717850c26c9cd0d89d | +------------------------------------------+ 1 row in set (0.00 sec) mysql>