RuneHive-Game
Loading...
Searching...
No Matches
LoginDetailsPacket.java
Go to the documentation of this file.
1package com.runehive.net.codec.login;
2
3import com.runehive.net.codec.IsaacCipher;
4
5public final class LoginDetailsPacket {
6
7 private final String UUID;
8 private final String macAddress;
9 private final String username;
10 private final String password;
11 private final IsaacCipher encryptor;
12 private final IsaacCipher decryptor;
13
14 public LoginDetailsPacket(String UUID, String macAddress, String username, String password,
16 this.UUID = UUID;
17 this.macAddress = macAddress;
18 this.username = username.trim();
19 this.password = password;
20 this.encryptor = encryptor;
21 this.decryptor = decryptor;
22 }
23
24 public String getUUID() {
25 return UUID;
26 }
27
28 public String getUsername() {
29 return username;
30 }
31
32 public String getPassword() {
33 return password;
34 }
35
37 return encryptor;
38 }
39
41 return decryptor;
42 }
43
44 public String getMacAddress() {
45 return macAddress;
46 }
47
48}
An implementation of an ISAAC cipher.
LoginDetailsPacket(String UUID, String macAddress, String username, String password, IsaacCipher encryptor, IsaacCipher decryptor)