CakeFest 2024: The Official CakePHP Conference

sodium_crypto_sign_keypair

(PHP 7 >= 7.2.0, PHP 8)

sodium_crypto_sign_keypair秘密鍵と、対応する公開鍵をランダムに生成する

説明

sodium_crypto_sign_keypair(): string

ランダムな Ed25519 形式の鍵ペアをひとつの文字列として生成します。

パラメータ

この関数にはパラメータはありません。

戻り値

Ed25519 形式の鍵ペアを返します。

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top