在 WinForms app.config、.NET 中加密密码 [英] Encrypting passwords in WinForms app.config, .NET
本文介绍了在 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.
推荐答案
这篇关于在 WinForms app.config、.NET 中加密密码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文