
C# 中的国密算法 SM2
5星
- 浏览量: 0
- 大小:None
- 文件类型:None
简介:
本文将介绍如何在C#编程语言中实现和使用中国的国家密码标准之一——SM2椭圆曲线公钥加密算法。
ECPoint publicKey = null;
BigInteger privateKey = null;
SM2Utils.GenerateKeyPair(out publicKey, out privateKey);
System.Console.Out.WriteLine(公钥: + Encoding.Default.GetString(Hex.Encode(publicKey.GetEncoded())).ToUpper());
全部评论 (0)
还没有任何评论哟~


