sodium_crypto_sign_ed25519_sk_to_curve25519

(PHP 7 >= 7.2.0, PHP 8)

sodium_crypto_sign_ed25519_sk_to_curve25519Convert an Ed25519 secret key to a Curve25519 secret key

Descrizione

sodium_crypto_sign_ed25519_sk_to_curve25519(string $secret_key): string

Given an Ed25519 secret key, calculate the birationally equivalent X25519 secret key.

Elenco dei parametri

secret_key

Secret key suitable for the crypto_sign functions.

Valori restituiti

Secret key suitable for the crypto_box functions.

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top