Skip to content

Latest commit

 

History

History
98 lines (83 loc) · 4.1 KB

rsa测试密钥对.md

File metadata and controls

98 lines (83 loc) · 4.1 KB

测试RSA密钥对

客户端私钥

原始的私钥:
MIICXAIBAAKBgQCmzaI2K/Cpaig/8gjne0F7t3uE7Kx3eLM914A2FhGWYGKiI1Q3
KXJ5c7cKJoIzI/cUsXacgnPORjhmtJb2tXzWaRuil2EtcbhWvRuxUW2gAqAi99U0
b/LeEzZH0IUO3tku2ZLaslHj1mC5c7vIceY13a4hK0SMdY1itatTXhHdzQIDAQAB
AoGAMLOzm/uCXgS30cvaW7P6L6Qn9WyhApUESJcmQSR6aBymT87e5Og+G0X0+Iq7
0zC6EJmsFxBjvaN1Dk/GECx3US4rVtQmCi8vJPMnMjaQf9S9rz/pBw85jOj69CL5
BYJ2yBUJl3kuTQVfsTnZQGM7jxZAsn1EjinZrdxfz23/RIUCQQDaxeVGsZpO6hl3
0Ve7Qk/n9u3gFrWItof4CXpy65rZHh4O0pIA4mBxKyQ57POb2uHJ4WgMwCNXkiB1
Wl4dyRl3AkEAwy/Z7O/CzQ6/0LhzfaZng3ZUH4pHgys1vHTHFCKhlV+FkCTKbb4m
bn93DL4JvfoQ01S70nj3U5QPWEgheFTT2wJBAL23ueF5aQigSF+4oi0ZD3Roldar
uteI+xalGZQJLyqzzHssLkMoDVx2fh7hlkyFHyLUH0hXYw6xAQbjzBRmbXcCQFeT
d8csiI3zCTOAHymIaTd99x6zr4R19cVZ7BznsPJRip7zMvRsddfsTyEjf0GDGtuH
UEKOTgJtEzl8G7Be9zMCQB86mimT7BDdPCbp1gzirN2UvvdpmiSJtWBnWH+YqQfP
wZt8BJZybAogHkamCpj6QDJQmecfmQLLgtbI3Kdq+8c=
转换成PKCS8格式的私钥
MIICdgIBADANBgkqhkiG9w0BAQEFAASCAmAwggJcAgEAAoGBAKbNojYr8KlqKD/y
COd7QXu3e4TsrHd4sz3XgDYWEZZgYqIjVDcpcnlztwomgjMj9xSxdpyCc85GOGa0
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