盲RSA签名使用.NET加密API? [英] Blind RSA signature using .NET cryptography API?

查看:220
本文介绍了盲RSA签名使用.NET加密API?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想实现一个盲RSA签名在.NET。有没有办法使用标准 System.Security.Cryptography API来实现这一目标?

I'd like to implement a blind RSA signature in .NET. Is there any way to use the standard System.Security.Cryptography APIs to achieve this?

而明显的想法不工作:

using (var rsa = new RSACryptoServiceProvider())
  signed = rsa.Decrypt(messageBytes, false);
                // CryptographicException: bad data

我AP preciate盲签名的危险,但让我们忽略那些一会儿。另外,我不感兴趣的其他类型的数字签名。

I appreciate the dangers of blind signature but let's ignore those for a moment. Also, I'm not interested in other types of digital signatures.

推荐答案

您将拥有你自己的滚动。您可以使用.NET 4的BigInteger类或者仅使用BouncyCastle的C#库。

You are going to have to roll you own. You can use the BigInteger class of .NET 4 or just use the Bouncycastle C# library.

这篇关于盲RSA签名使用.NET加密API?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆