Commit 27f9b55b by ruyun.zhang

记录加解密SQL

parent a81b79c7
...@@ -29,4 +29,15 @@ oauth2:default_hosid String // 创建账号时默认医院;默认自动 ...@@ -29,4 +29,15 @@ oauth2:default_hosid String // 创建账号时默认医院;默认自动
oauth2:default_roleid String // 初始角色,逗号分割;默认绩效查询 oauth2:default_roleid String // 初始角色,逗号分割;默认绩效查询
```
```sql
SELECT HEX(AES_ENCRYPT('123456','Suvalue'));
SELECT AES_DECRYPT(UNHEX('2408EE50F599E340C19B68E0B5281585'),'Suvalue');
``` ```
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment