Interface ITranslationStudioSecuritySpecialist


  • public interface ITranslationStudioSecuritySpecialist
    Author:
    Phillip Austerfield (phillip.austerfield@idmedia.com)
    • Method Detail

      • encrypt

        @NotNull
        String encrypt​(String sInput,
                       String sSecretKey)
        Encrypt a given input with a key
        Parameters:
        sInput -
        sSecretKey -
        Returns:
        Encrypted String or empty string on error
      • decrypt

        @NotNull
        String decrypt​(String sInput,
                       String sSecretKey)
        Decrypt a given input with a key
        Parameters:
        sInput -
        sSecretKey -
        Returns:
        Decrypted String or empty string on error
      • calculateHashFromInput

        @NotNull
        String calculateHashFromInput​(@NotNull
                                      String sInput,
                                      @NotNull
                                      String sPassword)
        Create a hash from an input
        Parameters:
        sInput - Input to be hased
        sPassword - Phrase to hash against
        Returns:
        Hased input or empty string on error