LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
  • Overview
  • LangGraph Checkpoint
    LangGraph Store
    Checkpoint Postgres
    Store Postgres
    Checkpoint SQLite
    LangGraph Prebuilt
    LangGraph CLI
    LangGraph SDK
    LangGraph Supervisor
    LangGraph Swarm
    ⌘I

    LangChain Assistant

    Ask a question to get started

    Enter to send•Shift+Enter new line

    Menu

    LangGraph Checkpoint
    LangGraph Store
    Checkpoint Postgres
    Store Postgres
    Checkpoint SQLite
    LangGraph Prebuilt
    LangGraph CLI
    LangGraph SDK
    LangGraph Supervisor
    LangGraph Swarm
    Language
    Theme
    Pythonlanggraph-sdkencryptiontypesBlobEncryptor
    Attribute●Since v0.2

    BlobEncryptor

    Copy
    BlobEncryptor = Callable[[EncryptionContext, bytes], Awaitable[bytes]]
    View source on GitHub

    Parameters

    NameTypeDescription
    ctx*unknown

    Encryption context with model type and metadata

    blob*unknown

    The raw bytes to encrypt

    Handler for encrypting opaque blob data like checkpoints.

    Note: Must be an async function. Encryption typically involves I/O operations (calling external KMS services), which should be async.