在WinForms的加密密码的app.config,.NET [英] Encrypting passwords in WinForms app.config, .NET

查看:151
本文介绍了在WinForms的加密密码的app.config,.NET的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我要存储在配置文件中的密码,但我想它进行加密,以使应用程序可以读取,解密和使用。什么是加密这样的密码,最好的方法是什么?
编辑:我仅需要加密的密码,而不是整个配置,或整节

I want to store a password in a config file but i would like it to be encrypted so that in the app it can be read, decrypted and used. What's the best way to encrypt a password like this?
I want to encrypt only password, not whole config, or whole section.

推荐答案

<一个href="http://weblogs.asp.net/jgalloway/archive/2008/04/13/encrypting-passwords-in-a-net-app-config-file.aspx">Encrypting在.NET app.config文件密码

这篇关于在WinForms的加密密码的app.config,.NET的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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