sodium_crypto_sign_ed25519_pk_to_curve25519
sodium_crypto_sign_ed25519_pk_to_curve25519
Convert an Ed25519 public key to a Curve25519 public key
string **sodium_crypto_sign_ed25519_pk_to_curve25519** string $public_key
Given an Ed25519 public key, calculate the birationally equivalent X25519 public key.
public_keyPublic key suitable for the crypto_sign functions.
Public key suitable for the crypto_box functions.