- 博客(2)
- 资源 (1)
- 收藏
- 关注
原创 C#使用Java的秘钥对进行SHA256withRSA签名验签
/// <summary> /// RSA私钥,从Java格式转.net格式(不依赖第三方包) /// </summary> /// <param name="privateKey">私钥</param> /// <returns></returns> public static string RSAPrivateKeyJava2DotNet(string ...
2021-09-16 11:45:53
1015
原创 .net 使用RSA生成密钥对,生成待签名的字符串用SHA256签名、验签(纯.net版)
using System; using System.Collections.Generic; using System.Security.Cryptography; using System.Text; using System.Xml; /// <summary> /// 将参数组成代签名的字符串 /// </summary> /// <param name="parameters"></param> ...
2021-09-16 11:28:21
1181
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人