UNPKG

rsa-pem-to-jwk

Version:

Converts PEM encoded RSA public and private keys to the JWK (JSON Web Key) format.

7 lines (5 loc) 215 B
{ "kty": "RSA", "n": "AN-fWcpCyE5KPzHDjigLaSUVZI0uYrcGcc40InVtl-rQRDmAh-C2W8H4_Hxhr5VLc6crsJ2LiJTV_E72S03pzpOOaaYV6-TzAjCou2GYJIXev7f6Hh512PuG5wyxda_TlBSsI-gvphRTPsKCnPutrbiukCYrnPuWxX5_cES9eStR", "e": "AQAB" }