added use cript() instead of md5()