摘要:
import jsonfrom decimal import Decimal def dict_sort(dict,reverse=False): ''' 输入字典,按key的ASCII排序, :param dict: :param reverse:False-顺序;True-倒叙 :return: 阅读全文
posted @ 2023-04-28 10:30
溪棱
阅读(69)
评论(0)
推荐(0)
摘要:
import hashlibimport hmac def hmacsha256_sign(data, key): ''' hmacsha256加密 :param data: str,加密文本 :param key: str,秘钥 :return: ''' secret_key = bytes(ke 阅读全文
posted @ 2023-04-28 10:25
溪棱
阅读(39)
评论(0)
推荐(0)
摘要:
# coding:utf-8# @author : csl# @description : 小工具开发import tkinterfrom tkinter import *from tkinter import ttkimport hashlibimport time from help.excel 阅读全文
posted @ 2023-04-28 10:24
溪棱
阅读(48)
评论(0)
推荐(0)
浙公网安备 33010602011771号