sodium_crypto_sign_ed25519_sk_to_curve25519

The timeline below displays how wordpress function sodium_crypto_sign_ed25519_sk_to_curve25519 has changed across different WordPress versions. If a version is not listed, refer to the next available version below.

WordPress Version: 6.1

/**
 * @see ParagonIE_Sodium_Compat::crypto_sign_ed25519_sk_to_curve25519()
 * @param string $secret_key
 * @return string
 * @throws SodiumException
 * @throws TypeError
 */
function sodium_crypto_sign_ed25519_sk_to_curve25519($secret_key)
{
    return ParagonIE_Sodium_Compat::crypto_sign_ed25519_sk_to_curve25519($secret_key);
}

WordPress Version: 5.2

/**
 * @see ParagonIE_Sodium_Compat::crypto_sign_ed25519_sk_to_curve25519()
 * @param string $sk
 * @return string
 * @throws SodiumException
 * @throws TypeError
 */
function sodium_crypto_sign_ed25519_sk_to_curve25519($sk)
{
    return ParagonIE_Sodium_Compat::crypto_sign_ed25519_sk_to_curve25519($sk);
}