secure md5 & registry methodes