加密数据并插入数据库 [英] encryption data and insert to database

查看:162
本文介绍了加密数据并插入数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




我需要使用C#.Net中的一种加密算法来加密输入的数据并保存到数据库中,然后解密该数据以供显示.
如果您有此算法,请发送给我

谢谢

Hi,


I need a type of encryption algorithm in C#.Net to encrypt the entered data and save into database and decrypt this data for showing.
If you have this algorithm please send it to me

Thank you

推荐答案

为什么不使用.NET实现的各种加密/解密算法?

请参见 System.Cryptography命名空间 [ TripleDES加密 [
Why not use the .NET implementation of the various encryption / decryption algorithms?

See the System.Cryptography Namespace[^]

Consider TripleDES encryption[^] - there is an example of how to use it in the link.


阅读此@ .NET Encryption Simplified [ ^ ]


这篇关于加密数据并插入数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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