Professional Documents
Culture Documents
md5 Fonction
md5 Fonction
Cryptography;
pu*lic static string M%5(string pass$ord { *yte[] text+ytes " System.Text.,ncoding.%e-ault..et+ytes(pass$ord ; try { System.Security.Cryptography.M%5CryptoService/rovider crypt0andler; crypt0andler " ne$ System.Security.Cryptography.M%5CryptoService/rovider( ; *yte[] hash " crypt0andler.Compute0ash (text+ytes ; string ret " ##; -oreach (*yte a in hash { i- (a123
ret (" #4# ( a.ToString (#x# ; else ret (" a.ToString (#x# ; ) return ret ; ) catch { thro$; ) ) )