sm-demo/README.md
2022-08-08 02:36:43 +00:00

14 lines
382 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# sm-demo
#### 介绍
使用国密算法加密请求的demo
#### 软件架构
SpringBoot + Vue
Vue在请求拦截器中对请求使用sm4加密将sm4的秘钥使用sm2加密后放到请求头中。
SpringBoot在过滤器中对请求解密以及对返回值加密。
Vue在响应拦截器中对返回值解密。
![输入图片说明](1659926179281.jpg)