sodium_crypto_sign_ed25519_sk_to_curve25519
(PHP 7 >= 7.2.0, PHP 8)
sodium_crypto_sign_ed25519_sk_to_curve25519 — Convert an Ed25519 secret key to a Curve25519 secret key
说明
Given an Ed25519 secret key, calculate the birationally equivalent X25519 secret key.
参数
secret_key
-
Secret key suitable for the crypto_sign functions.
返回值
Secret key suitable for the crypto_box functions.
+添加备注
用户贡献的备注
此页面尚无用户贡献的备注。
备份地址:http://www.lvesu.com/blog/php/function.sodium-crypto-sign-ed25519-sk-to-curve25519.php