Using GLib md5 hashing function