1

Edpk from a edsk, programmatically?

0

I believe you can use pytezos and namely this method

@classmethod
def from_key(cls, key, passphrase=''):
    """
    Creates a key object from a base58 encoded key.
    :param key: a public or secret key in base58 encoding
    :param passphrase: the passphrase used if the key provided is an encrypted private key
    """
  • 1
    Actually what I needed exactly was in function "from_secret_key" of the same file in PyTezos. The line below will let me reproduce it in Java: – Luiz Milfont Aug 8 at 12:50
  • 1
    public_key = pysodium.crypto_sign_sk_to_pk(sk=secret_key) – Luiz Milfont Aug 8 at 12:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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