change frontend encryption to md5