generate md5 and sha1 formatting password from plaintext

Two utils function : GenMD5Password , GenSHAPassword
fix md5 hash error