Criptografia MD5 para registros existentes

UPDATE yourtable
SET hash = MD5(name)
WHERE hash IS NULL
Alive Angelfish