sodium_crypto_scalarmult_ristretto255_base

(PHP 8 >= 8.1.1)

sodium_crypto_scalarmult_ristretto255_baseCalculates the public key from a secret key

说明

sodium_crypto_scalarmult_ristretto255_base(string $n): string

Given a secret key, calculates the corresponding public key. Available as of libsodium 1.0.18.

警告

本函数还未编写文档,仅有参数列表。

参数

n

A secret key.

返回值

Returns a 32-byte random string.

参见