快速和安全的密码算法C# [英] Fast and secure cryptography algorithm C#
本文介绍了快速和安全的密码算法C#的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在寻找用C#实现快速,安全的密码算法。我需要能够恢复初始的消息。你可以建议是什么?
I'm looking for a fast and secure cryptography algorithm with C# implementation. I need to be able to restore the initial message. What could you suggest?
感谢您的帮助!
推荐答案
如果需要非对称加密,使用2048位RSA。
If you need asymmetric encryption, use 2048-bits RSA.
如果你能逃脱对称加密,使用256位AES。
If you can get away with symmetric encryption, use 256-bit AES.
的 System.Security.Cryptography 结果
的的RSACryptoServiceProvider 结果
的 AesCryptoServiceProvider
您可以了解这里它们之间的区别:的对称与不对称。
You can read about the difference between them here: Symmetric versus Asymmetric.
这篇关于快速和安全的密码算法C#的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文