sm-demo/README.md
2021-12-16 01:55:35 +00:00

13 lines
340 B
Markdown
Raw 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在响应拦截器中对返回值解密。