reverse random encrypt uppercase md5 php ereg_replace string password security tool lowercase sha1 url-encode decrypt url-decode regular-expressions