2022-05-16 09:31:24
1249
https://demo.ivx.cn/
2025-06-27 14:30:30
ca0qir38lr33c0httrk0
[{"insert":{"image":"R10580997-bcc87d95f5233b19bcabe485c01ef9e0_17796_902_209.png"}},{"insert":"\n"},{"insert":{"image":"R10580997-30b5fb18bf11c6f5563be07811bb73e9_59670_1024_575.png"}},{"insert":"\n"}]
[{"insert":"讯飞语音合成需要用web socket\n\nRFC1123时间格式样式: Tue, 10 May 2022 08:32:53 GMT\n\n"},{"attributes":{"lineHeight":"30px","background":"#f8f6f1","color":"#ff9b00"},"insert":"# 进行hmac-sha256进行加密"},{"insert":"\n"},{"attributes":{"lineHeight":"30px","background":"#f8f6f1","color":"#3d3c3c"},"insert":" signature_sha = hmac.new"},{"attributes":{"lineHeight":"30px","background":"#f8f6f1","color":"#000000"},"insert":"("},{"attributes":{"lineHeight":"30px","background":"#f8f6f1","color":"#3d3c3c"},"insert":"self.APISecret.encode"},{"attributes":{"lineHeight":"30px","background":"#f8f6f1","color":"#000000"},"insert":"("},{"attributes":{"lineHeight":"30px","background":"#f8f6f1","color":"#28aa55"},"insert":"'utf-8'"},{"attributes":{"lineHeight":"30px","background":"#f8f6f1","color":"#000000"},"insert":"),"},{"attributes":{"lineHeight":"30px","background":"#f8f6f1","color":"#3d3c3c"},"insert":" signature_origin.encode"},{"attributes":{"lineHeight":"30px","background":"#f8f6f1","color":"#000000"},"insert":"("},{"attributes":{"lineHeight":"30px","background":"#f8f6f1","color":"#28aa55"},"insert":"'utf-8'"},{"attributes":{"lineHeight":"30px","background":"#f8f6f1","color":"#000000"},"insert":"),"},{"insert":"\n"},{"attributes":{"lineHeight":"30px","background":"#f8f6f1","color":"#3d3c3c"},"insert":" digestmod=hashlib.sha256"},{"attributes":{"lineHeight":"30px","background":"#f8f6f1","color":"#000000"},"insert":")"},{"attributes":{"lineHeight":"30px","background":"#f8f6f1","color":"#3d3c3c"},"insert":".digest"},{"attributes":{"lineHeight":"30px","background":"#f8f6f1","color":"#000000"},"insert":"()"},{"insert":"\n"},{"attributes":{"lineHeight":"30px","background":"#f8f6f1","color":"#3d3c3c"},"insert":" signature_sha = base64.b64encode"},{"attributes":{"lineHeight":"30px","background":"#f8f6f1","color":"#000000"},"insert":"("},{"insert":"\n"},{"attributes":{"lineHeight":"30px","background":"#f8f6f1","color":"#3d3c3c"},"insert":" signature_sha"},{"attributes":{"lineHeight":"30px","background":"#f8f6f1","color":"#000000"},"insert":")"},{"attributes":{"lineHeight":"30px","background":"#f8f6f1","color":"#3d3c3c"},"insert":".decode"},{"attributes":{"lineHeight":"30px","background":"#f8f6f1","color":"#000000"},"insert":"("},{"attributes":{"lineHeight":"30px","background":"#f8f6f1","color":"#3d3c3c"},"insert":"encoding="},{"attributes":{"lineHeight":"30px","background":"#f8f6f1","color":"#28aa55"},"insert":"'utf-8'"},{"attributes":{"lineHeight":"30px","background":"#f8f6f1","color":"#000000"},"insert":")"},{"insert":"\n\n"},{"attributes":{"lineHeight":"30px","background":"#f8f6f1","color":"#3d3c3c"},"insert":" authorization_origin = "},{"attributes":{"lineHeight":"30px","background":"#f8f6f1","color":"#28aa55"},"insert":"\"api_key=\\\"%s\\\", algorithm=\\\"%s\\\", headers=\\\"%s\\\", signature=\\\"%s\\\"\""},{"attributes":{"lineHeight":"30px","background":"#f8f6f1","color":"#3d3c3c"},"insert":" % "},{"attributes":{"lineHeight":"30px","background":"#f8f6f1","color":"#000000"},"insert":"("},{"insert":"\n"},{"attributes":{"lineHeight":"30px","background":"#f8f6f1","color":"#3d3c3c"},"insert":" self.APIKey"},{"attributes":{"lineHeight":"30px","background":"#f8f6f1","color":"#000000"},"insert":","},{"attributes":{"lineHeight":"30px","background":"#f8f6f1","color":"#3d3c3c"},"insert":" "},{"attributes":{"lineHeight":"30px","background":"#f8f6f1","color":"#28aa55"},"insert":"\"hmac-sha256\""},{"attributes":{"lineHeight":"30px","background":"#f8f6f1","color":"#000000"},"insert":","},{"attributes":{"lineHeight":"30px","background":"#f8f6f1","color":"#3d3c3c"},"insert":" "},{"attributes":{"lineHeight":"30px","background":"#f8f6f1","color":"#28aa55"},"insert":"\"host date request-line\""},{"attributes":{"lineHeight":"30px","background":"#f8f6f1","color":"#000000"},"insert":","},{"attributes":{"lineHeight":"30px","background":"#f8f6f1","color":"#3d3c3c"},"insert":" signature_sha"},{"attributes":{"lineHeight":"30px","background":"#f8f6f1","color":"#000000"},"insert":")"},{"insert":"\n"},{"attributes":{"lineHeight":"30px","background":"#f8f6f1","color":"#3d3c3c"},"insert":" authorization = base64.b64encode"},{"attributes":{"lineHeight":"30px","background":"#f8f6f1","color":"#000000"},"insert":"("},{"insert":"\n"},{"attributes":{"lineHeight":"30px","background":"#f8f6f1","color":"#3d3c3c"},"insert":" authorization_origin.encode"},{"attributes":{"lineHeight":"30px","background":"#f8f6f1","color":"#000000"},"insert":"("},{"attributes":{"lineHeight":"30px","background":"#f8f6f1","color":"#28aa55"},"insert":"'utf-8'"},{"attributes":{"lineHeight":"30px","background":"#f8f6f1","color":"#000000"},"insert":"))"},{"attributes":{"lineHeight":"30px","background":"#f8f6f1","color":"#3d3c3c"},"insert":".decode"},{"attributes":{"lineHeight":"30px","background":"#f8f6f1","color":"#000000"},"insert":"("},{"attributes":{"lineHeight":"30px","background":"#f8f6f1","color":"#3d3c3c"},"insert":"encoding="},{"attributes":{"lineHeight":"30px","background":"#f8f6f1","color":"#28aa55"},"insert":"'utf-8'"},{"attributes":{"lineHeight":"30px","background":"#f8f6f1","color":"#000000"},"insert":")"},{"insert":"\n\n"}]
日期转成RFC1123格式和hmac-sha256加密
将日期转成RFC1123格式+拼接字符串进行hmac-sha256加密
将日期转成RFC1123格式+拼接字符串进行hmac-sha256加密
2366
将日期转成RFC1123格式+拼接字符串进行hmac-sha256加密
2022-05-23 12:03:19
35
["widget--data-encrypt"]
1
0
1.0172746e+07
402
22
R10580997-2fcba9a0946e777443564870eeb69b3b_14715_527_409.png
H5
13897897744
1
1
0
10996969
5195
124
159
已上架
应用
1
李小燚
0
https://v4pre.h5app.com/play/Eh7B7ZXU
PC