Class TranslationStudioEncrypDecrypt

java.lang.Object
com.idmedia.translationstudio.api.connector.util.TranslationStudioEncrypDecrypt

public final class TranslationStudioEncrypDecrypt extends Object
Author:
Phillip Austerfield (phillip.austerfield@idmedia.com)
  • Method Details

    • requestInstance

      @Nullable public static TranslationStudioEncrypDecrypt requestInstance(String sSecret, int nLen, String sKeyAlgorithm, String sAlgorithm, boolean bEncryptor)
      Request Instance
      Parameters:
      sSecret - Secret Key to be used
      nLen - Key Length
      sKeyAlgorithm -
      sAlgorithm - Algorithm to be used
      bEncryptor -
      Returns:
    • encrypt

      @NotNull public String encrypt(String sInput)
    • decrypt

      public String decrypt(@NotNull String sInput)