Skip to content

Interface ZIF_LLM_ENCRYPTION

AI Generated documentation.

Overview

Interface ZIF_LLM_ENCRYPTION provides methods for secure encryption and decryption of sensitive data. Designed for handling secrets, it supports conversion between human-readable strings and encrypted byte data.

Public Methods

Method Description Input Output Exceptions
DECRYPT Converts encrypted byte data (xstring) back to a readable string. encrypted (encrypted byte data) result (decrypted string) ZCX_LLM_VALIDATION (invalid input/process), ZCX_LLM_AUTHORIZATION (access denied)
ENCRYPT Encrypts a plaintext string into secure byte data. unencrypted (plaintext string) result (encrypted byte data) Same as DECRYPT

Dependencies

classDiagram  
    class ZIF_LLM_ENCRYPTION {  
        +decrypt(encrypted: xstring) result: string  
        +encrypt(unencrypted: string) result: xstring  
        .. Raises ..  
        * ZCX_LLM_VALIDATION  
        * ZCX_LLM_AUTHORIZATION  
    }