Class MojangCrypt
java.lang.Object
net.minestom.server.extras.mojangAuth.MojangCrypt
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SecretKey
decryptByteToSecretKey
(PrivateKey privateKey, byte[] bytes) static byte[]
decryptUsingKey
(Key key, byte[] bytes) static byte @Nullable []
digestData
(String data, PublicKey publicKey, SecretKey secretKey) static @Nullable KeyPair
static Cipher