You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, in the issue I see that you can get the n and e from a public key. However, if I have a key pair as below:
{
"privateKey":"25485320031b6edac7a2397446711acb5be5cb62462326a2a5f5a799cebab986",
"publicKey":"04a78b97716b4b02357604c93c3433ad4d53d360beeadea5ace5c06be288f9f0de3b1ef993ae6beb67b5e4945376d997dd381297ccb7e0e0cd70ad0a4a40a34e2d"
}
how can I get the other components for the privateString so it will look like:
{"n":"799651d7489fa19ccb24c8b7d6579dec514f3af0cb731ae8426927b4529cd34a64fc16e92aeffac1718aa4ef37982033519d4ce585a75a7c8740d915f7612cfe90e02a2c97bc88a4b7a5ccfbdd19a9400af3aef198dad7df2ac51c498110fa5e31641c99e69440e712bf9d60a42d8a75173d99a9c99ed7c69d7f5e0cc1cf7e5f","e":"10001","d":"663ac47f2d79c289b1a830f79949bbe79989f375c8a9f442baabed8d4934c0d6b947d7ff9e717e35adc0b3e2caaca6ce5f5dd1ecddce935f46dd786966c116f19dffe892caa990e6b7d3c71f3981a153a7731d140a8e8fb4538e44357d32d61434a5b3758e6ca43aa6b1f4c13853f982c288eba0ec054f3b873f7bba178a7f59","p":"bcee69ab1d7d1612cd97ee7b5e5271ebd27540f05385f13cf89668693aa7637dd46f311d08c436faddb005bd49a12a4c23fec2e37524f679ec3baca94eedf0a3","q":"a4bfd929a45fec8cca8a02d188d05af3b6ad14b148f63ec8cc11930463d4148389272ffaf22918b915b1a919dc0a8405c0c77564d6ab90f3503d94406fb94b15","dmp1":"2d7c309073bf03ab6f37dec070cae48663dabad1a12a24140bbd1a520b3ef562fbdbf1350e413f03528fe831d4222aeebdd3bdd3c9062718df58d68ec463e085","dmq1":"88094e24ff70a19fe3c22fef9adc08ae032249dad5d7572270b6f64182b8e53373b5e2fd80a6049f17d5ba3efb1dc7c40459ee8a9463d86dc0cd083468cc84bd","coeff":"3ac90e528586e3b7d68f1be70ccea49d9c1fe2aa4959c3ee141212a095fb8e2415a8c8906be27e60c3c41f3315adcb34fc5e4587721afb2e7584618fec15ea7c"}
The text was updated successfully, but these errors were encountered:
Hi, in the issue I see that you can get the n and e from a public key. However, if I have a key pair as below:
{
"privateKey":"25485320031b6edac7a2397446711acb5be5cb62462326a2a5f5a799cebab986",
"publicKey":"04a78b97716b4b02357604c93c3433ad4d53d360beeadea5ace5c06be288f9f0de3b1ef993ae6beb67b5e4945376d997dd381297ccb7e0e0cd70ad0a4a40a34e2d"
}
how can I get the other components for the privateString so it will look like:
{"n":"799651d7489fa19ccb24c8b7d6579dec514f3af0cb731ae8426927b4529cd34a64fc16e92aeffac1718aa4ef37982033519d4ce585a75a7c8740d915f7612cfe90e02a2c97bc88a4b7a5ccfbdd19a9400af3aef198dad7df2ac51c498110fa5e31641c99e69440e712bf9d60a42d8a75173d99a9c99ed7c69d7f5e0cc1cf7e5f","e":"10001","d":"663ac47f2d79c289b1a830f79949bbe79989f375c8a9f442baabed8d4934c0d6b947d7ff9e717e35adc0b3e2caaca6ce5f5dd1ecddce935f46dd786966c116f19dffe892caa990e6b7d3c71f3981a153a7731d140a8e8fb4538e44357d32d61434a5b3758e6ca43aa6b1f4c13853f982c288eba0ec054f3b873f7bba178a7f59","p":"bcee69ab1d7d1612cd97ee7b5e5271ebd27540f05385f13cf89668693aa7637dd46f311d08c436faddb005bd49a12a4c23fec2e37524f679ec3baca94eedf0a3","q":"a4bfd929a45fec8cca8a02d188d05af3b6ad14b148f63ec8cc11930463d4148389272ffaf22918b915b1a919dc0a8405c0c77564d6ab90f3503d94406fb94b15","dmp1":"2d7c309073bf03ab6f37dec070cae48663dabad1a12a24140bbd1a520b3ef562fbdbf1350e413f03528fe831d4222aeebdd3bdd3c9062718df58d68ec463e085","dmq1":"88094e24ff70a19fe3c22fef9adc08ae032249dad5d7572270b6f64182b8e53373b5e2fd80a6049f17d5ba3efb1dc7c40459ee8a9463d86dc0cd083468cc84bd","coeff":"3ac90e528586e3b7d68f1be70ccea49d9c1fe2aa4959c3ee141212a095fb8e2415a8c8906be27e60c3c41f3315adcb34fc5e4587721afb2e7584618fec15ea7c"}
The text was updated successfully, but these errors were encountered: