Verifies that an encryption public key was signed by an Ed25519 key.
This checks that the signature over the X25519 encryption key was created by the Ed25519 private key corresponding to the given public key.
The X25519 public key (32 bytes)
The Ed25519 public key (32 bytes, e.g., Algorand address bytes)
The Ed25519 signature to verify (64 bytes)
true if the signature is valid, false otherwise
true
false
If the key or signature lengths are invalid
Verifies that an encryption public key was signed by an Ed25519 key.
This checks that the signature over the X25519 encryption key was created by the Ed25519 private key corresponding to the given public key.