gmssl
gmssl copied to clipboard
如何从pem文件中读取私钥公钥,以及将生成的密钥写入文件,我用OpenSSL生成SM2的私钥公钥,不知道如何加载进来程序,求指导。
I met the same difficulty.
me too
求指导
def file_to_hex_string(file_path): with open(file_path, "rb") as f: hex_string = f.read().hex() return hex_string