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