I'm trying to write some python code that is one to one with a C++ codebase using the following Ed25519 library:
https://github.com/orlp/ed25519
My understanding is that Ed25519 uses a 64byte private key and 32byte public key, however when using pynacl and running the following code I get two keys each of 32 bytes:
# Generate a new random signing key
signing_key = SigningKey.generate()
verify_key = signing_key.verify_key
# Serialize the verify key to send it to a third party
verify_key_hex = verify_key.encode(encoder=HexEncoder)
signing_key_hex = signing_key.encode(encoder=HexEncoder)
print(str(verify_key_hex, encoding='utf8').upper())
print(str(signing_key_hex, encoding='utf8').upper())
Is there a way I can get the full 64 bytes of the signing key?
I'm trying to write some python code that is one to one with a C++ codebase using the following Ed25519 library: https://github.com/orlp/ed25519
My understanding is that Ed25519 uses a 64byte private key and 32byte public key, however when using pynacl and running the following code I get two keys each of 32 bytes:
Is there a way I can get the full 64 bytes of the signing key?