Interface StringEncryptor

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String decrypt​(String encryptedMessage)
      Decrypt an encrypted message
      String encrypt​(String message)
      Encrypt the input message
    • Method Detail

      • encrypt

        String encrypt​(String message)
        Encrypt the input message
        Parameters:
        message - the message to be encrypted
        Returns:
        the result of encryption
      • decrypt

        String decrypt​(String encryptedMessage)
        Decrypt an encrypted message
        Parameters:
        encryptedMessage - the encrypted message to be decrypted
        Returns:
        the result of decryption