如何在密码控制中使用加密 [英] How do I use Encryption with my Password Control

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

问题描述

您好。


如何申请用于VBA和VBScript的SHA2加密哈希算法到表单上的密码控件?


谢谢

Hello.

How would I apply SHA2 Cryptographic Hash Algorithm for VBA and VBScript to a password control on a form?

Thanks

推荐答案

通过函数运行输入,然后将其存储在表中。
You run the input through the function before storing it in the table.


当您在表单上输入密码作为凭据时,运行它通过加密算法并将结果与存储的内容进行比较。
And when a password is entered on your form as credentials, you run it through the encryption algorithm and compare the result with what was stored.


这可能是在AfterUpdate方法中吗?
Could this be in the AfterUpdate method??


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

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