Creates a private key from the raw key bytes. For Ed25519 keys this requires the public key to be appended to the private key otherwise we can't differentiate between Ed25519 and secp256k1 keys as they are the same length.
Creates a private key from the raw key bytes. For Ed25519 keys this requires the public key to be appended to the private key otherwise we can't differentiate between Ed25519 and secp256k1 keys as they are the same length.