sodium_crypto_sign_ed25519_pk_to_curve25519
Supported Versions: PHP 7 >= 7.2.0, PHP 8
Convert an Ed25519 public key to a Curve25519 public key
<?php sodium_crypto_sign_ed25519_pk_to_curve25519
(
string $public_key
):
string