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