如何将数据搜索到数据库表中,同时将数据加密格式提供到表中。使用vb.net语言 [英] how to search the data into the database table, while data is encrypted format available into the table.using vb.net language

查看:63
本文介绍了如何将数据搜索到数据库表中,同时将数据加密格式提供到表中。使用vb.net语言的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果数据已被加密,则无法搜索数据:因为您找不到字符串Call me Imamael。几年前 - 不记得多长时间 - 在我的钱包中很少或没有钱加密白鲸记的副本。你必须先解密它。



因为在将加密数据发送到SQL之前几乎肯定会在你的应用程序中加密它(如果你没有,你应该)你必须检索数据,解密它,然后搜索数据。

You can't search for data if it has been encrypted: as in you cannot find the string "Call me Ishmael. Some years ago - never mind how long precisely - having little or no money in my purse" in an encrypted copy of Moby Dick. You have to decrypt it first.

Since you almost certainly encrypted it in you application before sending the encrypted data to SQL (and if you didn't, you should) you have to retrieve the data, decrypt it, and and then search the data.

推荐答案

如果数据已加密,你就无法搜索数据:就像你一样找不到字符串Call me Imamael。几年前 - 不用多久就知道 - 在我的钱包中有很少或根本没有钱在Moby Dick的加密版本中。你必须先解密它。



因为在将加密数据发送到SQL之前几乎肯定会在你的应用程序中加密它(如果你没有,你应该)您必须检索数据,解密数据,然后搜索数据。
You can't search for data if it has been encrypted: as in you cannot find the string "Call me Ishmael. Some years ago - never mind how long precisely - having little or no money in my purse" in an encrypted copy of Moby Dick. You have to decrypt it first.

Since you almost certainly encrypted it in you application before sending the encrypted data to SQL (and if you didn't, you should) you have to retrieve the data, decrypt it, and and then search the data.


这篇关于如何将数据搜索到数据库表中,同时将数据加密格式提供到表中。使用vb.net语言的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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