PocketMine-MP 5.19.1 git-5cc1068cd43264d3363295eb8d6901e02f467897
pocketmine\network\mcpe\encryption\EncryptionUtils Class Reference
+ Collaboration diagram for pocketmine\network\mcpe\encryption\EncryptionUtils:

Static Public Member Functions

static generateKey (\GMP $secret, string $salt)
 
static generateServerHandshakeJwt (\OpenSSLAsymmetricKey $serverPriv, string $salt)
 
static generateSharedSecret (\OpenSSLAsymmetricKey $localPriv, \OpenSSLAsymmetricKey $remotePub)
 

Detailed Description

Definition at line 40 of file EncryptionUtils.php.

Member Function Documentation

◆ generateKey()

static pocketmine\network\mcpe\encryption\EncryptionUtils::generateKey ( \GMP  $secret,
string  $salt 
)
static

Definition at line 67 of file EncryptionUtils.php.

◆ generateServerHandshakeJwt()

static pocketmine\network\mcpe\encryption\EncryptionUtils::generateServerHandshakeJwt ( \OpenSSLAsymmetricKey  $serverPriv,
string  $salt 
)
static

Definition at line 71 of file EncryptionUtils.php.

◆ generateSharedSecret()

static pocketmine\network\mcpe\encryption\EncryptionUtils::generateSharedSecret ( \OpenSSLAsymmetricKey  $localPriv,
\OpenSSLAsymmetricKey  $remotePub 
)
static

Definition at line 57 of file EncryptionUtils.php.


The documentation for this class was generated from the following file: