# sodium_crypto_scalarmult_ristretto255_base

(PHP 8 >= 8.1.1)

sodium_crypto_scalarmult_ristretto255_base — Calculates 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.

### 参见

- sodium_crypto_scalarmult_ristretto255() - Computes a shared secret

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open