访问c#的加密字段 [英] Access encrypted fields of c#

查看:89
本文介绍了访问c#的加密字段的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在c#中访问活动目录的加密/安全字段?

示例:密码在活动目录中加密...如何访问它?

系统。 Security.SecureString

How to access encrypted/secured fields of active directory in c#?
Example :password is encrypted in active directory ...how to access it?
System.Security.SecureString

推荐答案

1。你不可能:你需要一个你出于明显安全原因无法得到的私钥

2.即使你可以通过任何蛮力方法找到私钥你会解密的不是密码,但密码的哈希值。没有正确安全的系统存储密码甚至加密。
1. you can''t : you would need a private key that you can not get for obvious security reasons
2. even if you could find the private key by whatever brute force method what you would decrypt is not the password but a hash of the password. There is no properly secured system which store passwords even encrypted.


检查类似的线程: CP Answers [ ^ ]



注意:你必须知道应用于数据的加密算法才能解密。
Check similar threads :CP Answers[^]

Note: You must know encryption algorithm applied on data for its decryption.


这篇关于访问c#的加密字段的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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