Skip to content

stainedglass_output_protection

Python package for Stained Glass Output Protection, a library for tokenwise protecting generative AI outputs in vLLM.

Contains both utilities for generating keys and encrypting/decrypting messages, as well as a vLLM plugin for integrating Stained Glass Output Protection directly into vLLM's generation pipeline.

Modules:

Name Description
encryption

Utilities for generating keys and encrypting/decrypting messages using the x25519 key exchange and AES-GCM encryption (formatted in the

vllm

vLLM plugin for Stained Glass Output Protection.