如何在Sql Server中隐藏密码 [英] How Can I Hide The Password In Sql Server

查看:241
本文介绍了如何在Sql Server中隐藏密码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是sql数据库中的示例表



用户名密码

jhansi 123456 @ aw。

请帮助我完成每一步的过程

here is an example table in sql database

username password
jhansi 123456@aw.
please help me the process in each step

推荐答案

首先不要存储密码,而是一种单向散列,更好的用一些盐(和辣椒)添加...

http://en.wikipedia.org/wiki/Cryptographic_hash_function [ ^ ]

http://en.wikipedia.org/wiki/Salt_%28cryptography%29 [ ^ ]
Do not store passwords in the first place, but a kind of a one-way hash, better with some salt (and pepper) added...
http://en.wikipedia.org/wiki/Cryptographic_hash_function[^]
http://en.wikipedia.org/wiki/Salt_%28cryptography%29[^]


这篇关于如何在Sql Server中隐藏密码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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