我要确保我的登录密码安全 [英] I am to keep my login passwords safe

查看:83
本文介绍了我要确保我的登录密码安全的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

朋友,
我将登录密码另存为磁盘上的文件
我很困惑如何管理这些东西.因为有人可以复制密码文件并将其保存以进行破解.
杀死了我的大脑.我想您有一些有价值的建议.
谢谢您的关注.
关于

Hi Friends,
I am saving the passwords of login as a file on the disk
I am very confused How I am to manage that stuff. as someone can copy the password file and save it for cracking.
Killed my brain. I guess you have some valuable suggestions.
Thank you for your interest.
Regards

推荐答案

您应该对密码进行哈希处理并存储哈希.

当用户登录并输入密码时,请对其进行哈希处理,然后将其与您保存的文件进行比较.

您可能会在C#中找到密码学 [
You should Hash the passwords and store the Hash.

When the user logs in and enters their password Hash it and then compare that to your saved file.

You might find Cryptography in C#[^] useful.


这篇关于我要确保我的登录密码安全的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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