using System.Security.Cryptography;
public static void Main()
var createUserSign = "Agent=BNM_A1_001&Password=7mzsxb0er&PlayerAccount=BNM_A1_001VGM225&PrivateKey=UpxO$zAbUWTyE6@XSi8k";
var listUsersSign = "PageNumber=1&PrivateKey=UpxO$zAbUWTyE6@XSi8k";
var userInfoSign = "PlayerAccount=BNM_A1_001VGM225&PrivateKey=UpxO$zAbUWTyE6@XSi8k";
HashAlgorithm hashAlgorithm = new SHA256Managed();
byte[] byteArray = hashAlgorithm.ComputeHash(Encoding.UTF8.GetBytes(createUserSign));
String result = Convert.ToBase64String(byteArray);
Console.WriteLine("HashResult: " + result);