Definition at line 40 of file EncryptionUtils.php.
◆ generateKey()
static pocketmine\network\mcpe\encryption\EncryptionUtils::generateKey |
( |
\GMP |
$secret, |
|
|
string |
$salt |
|
) |
| |
|
static |
◆ generateServerHandshakeJwt()
static pocketmine\network\mcpe\encryption\EncryptionUtils::generateServerHandshakeJwt |
( |
\OpenSSLAsymmetricKey |
$serverPriv, |
|
|
string |
$salt |
|
) |
| |
|
static |
◆ generateSharedSecret()
static pocketmine\network\mcpe\encryption\EncryptionUtils::generateSharedSecret |
( |
\OpenSSLAsymmetricKey |
$localPriv, |
|
|
\OpenSSLAsymmetricKey |
$remotePub |
|
) |
| |
|
static |
The documentation for this class was generated from the following file: