Org.BouncyCastle.Crypto.AsymmetricKeyParameter.GetHashCode C# (CSharp) Method

GetHashCode() public method

public GetHashCode ( ) : int
return int
		public override int GetHashCode()
		{
			return privateKey.GetHashCode();
		}
    }

Usage Example

コード例 #1
0
ファイル: StringUtil.cs プロジェクト: Mathhrp/Sd-Blockchain
 public static string getStringFromKey(Org.BouncyCastle.Crypto.AsymmetricKeyParameter key)
 {
     return(System.Convert.ToBase64String(System.Text.Encoding.UTF8.GetBytes(Convert.ToString(key.GetHashCode()))));
 }