Syntax Syntax
Parameters Parameters
- $sKey
-
(Required)
- $pKey
-
(Required)
Return Return
(string)
Source Source
File: wp-includes/sodium_compat/src/Crypto32.php
public static function box_keypair_from_secretkey_and_publickey($sKey, $pKey) { return ParagonIE_Sodium_Core32_Util::substr($sKey, 0, 32) . ParagonIE_Sodium_Core32_Util::substr($pKey, 0, 32); }