Class SecretFileHelper

java.lang.Object
io.github.icrazyblaze.twitchmod.util.files.SecretFileHelper
All Implemented Interfaces:
Serializable

public class SecretFileHelper extends Object implements 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.
Since:
3.5.0
See Also:
BotConfig, EncryptionHelper, Serialized Form
  • Constructor Details

    • SecretFileHelper

      public SecretFileHelper()
  • Method Details

    • setValuesFromFiles

      public static void setValuesFromFiles()
    • writeTwitchKey

      public static void writeTwitchKey(String toWrite)
    • writeDiscordToken

      public static void writeDiscordToken(String toWrite)