加密/解密SSN [英] Encrypt / Decrypt an SSN

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

问题描述

你好.我遇到一种使用SHA256哈希加密SSN值的情况.但是,用户希望能够查看SSN的后四个.我没有考虑将SSN的最后4个作为原始文本存储在数据库中,而是考虑仅对最后4个使用加密/解密算法.有人可以指出正确的方向吗?

预先感谢您提供的任何帮助!

Craig

Hi there. I have a situation where I am encrypting a SSN value using the SHA256 hash. However, the users want the ability to view the last four of the SSN. Rather than storing the last 4 of the SSN as raw text in the database, I was thinking about using an encryption / decryption algorithm for just the last 4. Can anyone point me in the right direction to accomplish this?

Thanks, in advance, for any assistance you can offer!

Craig

推荐答案

与您的客户/老板核对,是否需要满足任何级别的敏感数据加密要求.某些级别的加密不符合隐私合规性要求.您将需要知道是否要遵守这些规定.

否则,会有本文 [
Check with your client/boss if you need to meet any level of requirements for encryption with sensitive data. There are certain levels of encryption that do not meet privacy compliance requirements. You will need to know if you are subject to these.

Otherwise, there is this article[^] which should get you started.

Cheers.


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

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