From 477ea5983c4c1f7c86a7af6af347ba1179fea378 Mon Sep 17 00:00:00 2001 From: md_5 Date: Sun, 8 Sep 2024 13:15:40 +1000 Subject: [PATCH] Remove unused field --- proxy/src/main/java/net/md_5/bungee/EncryptionUtil.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/proxy/src/main/java/net/md_5/bungee/EncryptionUtil.java b/proxy/src/main/java/net/md_5/bungee/EncryptionUtil.java index fb497ca0..27c5b066 100644 --- a/proxy/src/main/java/net/md_5/bungee/EncryptionUtil.java +++ b/proxy/src/main/java/net/md_5/bungee/EncryptionUtil.java @@ -23,7 +23,6 @@ import java.util.UUID; import javax.crypto.Cipher; import javax.crypto.SecretKey; import javax.crypto.spec.SecretKeySpec; -import lombok.Getter; import net.md_5.bungee.jni.NativeCode; import net.md_5.bungee.jni.cipher.BungeeCipher; import net.md_5.bungee.jni.cipher.JavaCipher; @@ -41,8 +40,6 @@ public class EncryptionUtil private static final Random random = new Random(); private static final Base64.Encoder MIME_ENCODER = Base64.getMimeEncoder( 76, "\n".getBytes( StandardCharsets.UTF_8 ) ); public static final KeyPair keys; - @Getter - private static final SecretKey secret = new SecretKeySpec( new byte[ 16 ], "AES" ); public static final NativeCode nativeFactory = new NativeCode<>( "native-cipher", JavaCipher::new, NativeCipher::new ); private static final PublicKey MOJANG_KEY;