Class EncryptionHelper

java.lang.Object
io.github.icrazyblaze.twitchmod.util.files.EncryptionHelper

public class EncryptionHelper extends Object
This class contains cryptographic functions using the RC4 algorithm.
See Also:
SecretFileHelper
  • Constructor Details

    • EncryptionHelper

      public EncryptionHelper()
  • Method Details

    • encrypt

      public static byte[] encrypt(String toEncrypt, String key)
    • decrypt

      public static byte[] decrypt(byte[] encrypted, String key)