0

We interact with HSM via Graphene to generate EC public/private key for Ethereum blockchain, many tutorials say secp256k1 to generate valid Eth address, however the Graphene supports only secp256r1

1 Answer 1

0

No, it is not possible. Ethereum only supports secp256k1 for regular accounts.

7
  • However, ethereumjs-util provides function privateToAddress, so I would guess that ethereumj possibly provides a similar function...? Or have I misinterpreted the question? Mar 11, 2020 at 5:23
  • @goodvibration The main functionality from an HSM is to store the private key safely. You do not access the key directly, only through high level operations like signing and verifying messages. If you manipulate the key in your app you do not need an HSM.
    – Ismael
    Mar 11, 2020 at 5:42
  • I did not say anything about manipulating the private key, I was referring to the generate valid Eth address part of the question. Mar 11, 2020 at 5:47
  • @goodvibration Well you need the private key to generate the address.
    – Ismael
    Mar 11, 2020 at 6:46
  • To my understanding, the question kind of implies that this user is already taking care of that (We interact with HSM via Graphene to generate EC public/private key for Ethereum blockchain), while only asking how to generate the corresponding address. Mar 11, 2020 at 7:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.