mirror of
https://github.com/SpigotMC/BungeeCord.git
synced 2024-11-27 04:35:18 +01:00
Remove unused field
This commit is contained in:
parent
eca6090f1e
commit
477ea5983c
@ -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<BungeeCipher> nativeFactory = new NativeCode<>( "native-cipher", JavaCipher::new, NativeCipher::new );
|
||||
private static final PublicKey MOJANG_KEY;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user