Function __global->sodium_crypto_box_keypair

Definitions

sources_custom/phpstub.php

  • Generates a private key and a public key as one string.To get the secret key out of this unified keypair string, see sodium_crypto_box_secretkey(). To get the public key out of this unified keypair string, see sodium_crypto_box_publickey().
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: string

Return

  • The keypair
  • Type: string
  • Set: N/A
  • Range: N/A