Class SecretFileHelper
java.lang.Object
io.github.icrazyblaze.twitchmod.util.files.SecretFileHelper
- All Implemented Interfaces:
Serializable
SUCK = Serialised Unreadable Connection Key
This class is responsible for serialising and deserializing encrypted password strings. This system allows for keys to be stored securely, without requiring them to be entered every time the game starts. The key strings are Base64 encoded, then RC4 encrypted using an MD5 (hex) of the hardware address.
This class is responsible for serialising and deserializing encrypted password strings. This system allows for keys to be stored securely, without requiring them to be entered every time the game starts. The key strings are Base64 encoded, then RC4 encrypted using an MD5 (hex) of the hardware address.
- Since:
- 3.5.0
- See Also:
BotConfig
,EncryptionHelper
, Serialized Form
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
static void
writeDiscordToken(String toWrite)
static void
writeTwitchKey(String toWrite)
-
Constructor Details
-
SecretFileHelper
public SecretFileHelper()
-
-
Method Details
-
setValuesFromFiles
public static void setValuesFromFiles() -
writeTwitchKey
-
writeDiscordToken
-