sodium_crypto_sign_publickey

(PHP 7 >= 7.2.0, PHP 8)

sodium_crypto_sign_publickeyExtract the Ed25519 public key from a keypair

说明

sodium_crypto_sign_publickey(string $key_pair): string

Extract the Ed25519 public key from a keypair

参数

key_pair

Ed25519 keypair (see: sodium_crypto_sign_keypair())

返回值

Ed25519 public key