SHA1 sha = new SHA1CryptoServiceProvider();
var resulta = sha.ComputeHash(new ASCIIEncoding().GetBytes("password"));
var resultb = sha.ComputeHash(resulta);
return "*" + BitConverter.ToString(resultb).Replace("-","");
2
solved Convert php to c# [closed]