Files
2024-09-27 02:06:13 +08:00

33 lines
483 B
Plaintext
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.

RSA 非对称加密
原始数据
公钥
私钥
MD5 不可逆的加密
base64 文件编码
params = {
id: 1,
page: 2,
num: 3,
time: '%$#^%&*bvjhvytfyt#$%$jn'
}
1: 先按照26个字母进行排序,然后转换成 query 参数的方式
id=1&num=3&page=2&time=%$#^%&*bvjhvytfyt#$%$jn
2:使用MD5对上一步的结果进行加密 2e156a8c7a7c3cde2a42335a7e332d58
加盐
params = {
id: 1,
page: 2,
num: 3,
sign: 2e156a8c7a7c3cde2a42335a7e332d58
}