Interface SymmetricOperatorFactory<T extends Parameters>

    • Method Detail

      • createOutputEncryptor

        OutputEncryptor<T> createOutputEncryptor​(SymmetricKey key,
                                                 T parameter)
        Return an encryptor that operates on an output stream.
        Parameters:
        key - the key to initialize the encryptor with.
        parameter - the parameters to use to initialize the encryptor.
        Returns:
        an OutputEncryptor
      • createOutputDecryptor

        OutputDecryptor<T> createOutputDecryptor​(SymmetricKey key,
                                                 T parameter)
        Return a decryptor that operates on an output stream.
        Parameters:
        key - the key to initialize the encryptor with.
        parameter - the parameters to use to initialize the encryptor.
        Returns:
        an OutputDecryptor.
      • createInputDecryptor

        InputDecryptor<T> createInputDecryptor​(SymmetricKey key,
                                               T parameter)
        Return a decryptor that operates on an input stream.
        Parameters:
        key - the key to initialize the encryptor with.
        parameter - the parameters to use to initialize the encryptor.
        Returns:
        an InputDecryptor.