Replaced md5 with unicode-safe equivalent