mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-22 00:33:59 +00:00
Fixed incorrect doc for EncryptionContext (#4791)
* Fixed incorrect doc for EncryptionContext * Update src/network/mcpe/encryption/EncryptionContext.php Co-authored-by: Dylan T <odigiman@gmail.com>
This commit is contained in:
parent
123701ed76
commit
2a4111868c
@ -61,7 +61,7 @@ class EncryptionContext{
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns an EncryptionContext suitable for decrypting Minecraft packets from 1.16.200 and up.
|
||||
* Returns an EncryptionContext suitable for decrypting Minecraft packets from 1.16.220.50 (protocol version 429) and up.
|
||||
*
|
||||
* MCPE uses GCM, but without the auth tag, which defeats the whole purpose of using GCM.
|
||||
* GCM is just a wrapper around CTR which adds the auth tag, so CTR can replace GCM for this case.
|
||||
|
Loading…
x
Reference in New Issue
Block a user