1. public
2. {
3. new
4. byte[] bytes = System.Text.Encoding.UTF8.GetBytes(s);
5. bytes = md5.ComputeHash(bytes);
6. md5.Clear();
7.
8. string ret = "";
9. for (int
10. {
11. '0');
12. }
13.
14. return ret.PadLeft(32, '0');
15. }
1. public
2. {
3. new
4. byte[] bytes = System.Text.Encoding.UTF8.GetBytes(s);
5. bytes = md5.ComputeHash(bytes);
6. md5.Clear();
7.
8. string ret = "";
9. for (int
10. {
11. '0');
12. }
13.
14. return ret.PadLeft(32, '0');
15. }