--建表(加密字段要为二进制数据类型)
create table ls(
mw varbinary(500))
--存入加密字段
insert into ls
select EncryptByPassPhrase('bngyuw', 'abc')
--查看加密字段
select convert(varchar,DecryptByPassPhrase('bngyuw', mw)) from ls
--建表(加密字段要为二进制数据类型)
create table ls(
mw varbinary(500))
--存入加密字段
insert into ls
select EncryptByPassPhrase('bngyuw', 'abc')
--查看加密字段
select convert(varchar,DecryptByPassPhrase('bngyuw', mw)) from ls
https://github.com/zhangbo2008/Trie_with_informationExtraction_and_fuzzy_matchingv2