Skip to content

EncryptionUtils ​

final class · pocketmine\network\mcpe\encryption\EncryptionUtils · source

Methods ​

generateKey() ​

php
public static function generateKey(\GMP $secret, string $salt) : string

generateServerHandshakeJwt() ​

php
public static function generateServerHandshakeJwt(\OpenSSLAsymmetricKey $serverPriv, string $salt) : string

generateSharedSecret() ​

php
public static function generateSharedSecret(\OpenSSLAsymmetricKey $localPriv, \OpenSSLAsymmetricKey $remotePub) : \GMP

VanillaMine is a fork of PocketMine-MP, maintained by Luxury Nodes. Not affiliated with the PMMP team or Mojang.