Exemplo n.º 1
0
 public virtual string HashData(string data)
 {
     Njit.Common.CryptoService.MD5CryptoService md5 = new Njit.Common.CryptoService.MD5CryptoService();
     return(md5.ComputeHash(data));
 }
Exemplo n.º 2
0
 string HashData(string data)
 {
     Njit.Common.CryptoService.MD5CryptoService md5 = new Njit.Common.CryptoService.MD5CryptoService();
     return(Setting.User.ThisProgram.HashData(Setting.User.ThisProgram.GetCurrentUser <Model.Common.User>().Code.ToString() + data));
 }