Interface Encryptor<T,​R>

    • Method Detail

      • encrypt

        R encrypt​(T toEncrypt)
           throws java.lang.Exception
        Encrypt the given object.
        Parameters:
        toEncrypt - The object to encrypt.
        Returns:
        The encrypted object.
        Throws:
        java.lang.Exception - is thrown if encryption fails.