略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: sodium_crypto_sign_ed25519_pk_to_curve25519

2024-11-14

sodium_crypto_sign_ed25519_pk_to_curve25519

(PHP 7 >= 7.2.0, PHP 8)

sodium_crypto_sign_ed25519_pk_to_curve25519Convert an Ed25519 public key to a Curve25519 public key

说明

sodium_crypto_sign_ed25519_pk_to_curve25519(string $public_key): string

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

参数

public_key

Public key suitable for the crypto_sign functions.

返回值

Public key suitable for the crypto_box functions.

add a noteadd a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/function.sodium-crypto-sign-ed25519-pk-to-curve25519.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3