public static function ParagonIE_Sodium_Compat::crypto_kx_publickey in Automatic Updates 8
Same name and namespace in other branches
- 7 vendor/paragonie/sodium_compat/src/Compat.php \ParagonIE_Sodium_Compat::crypto_kx_publickey()
Parameters
string $kp:
Return value
string
Throws
SodiumException
3 calls to ParagonIE_Sodium_Compat::crypto_kx_publickey()
- ParagonIE_Sodium_Compat::crypto_kx_client_session_keys in vendor/
paragonie/ sodium_compat/ src/ Compat.php - ParagonIE_Sodium_Compat::crypto_kx_server_session_keys in vendor/
paragonie/ sodium_compat/ src/ Compat.php - php72compat.php in vendor/
paragonie/ sodium_compat/ lib/ php72compat.php
File
- vendor/
paragonie/ sodium_compat/ src/ Compat.php, line 1887
Class
Code
public static function crypto_kx_publickey($kp) {
return ParagonIE_Sodium_Core_Util::substr($kp, self::CRYPTO_KX_SECRETKEYBYTES, self::CRYPTO_KX_PUBLICKEYBYTES);
}