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

    Chat LangChain

    What can I help with?

    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.checkpointserdebaseCipherProtocol
    Class●Since v4.3

    CipherProtocol

    Protocol for encryption and decryption of data.

    • encrypt: Encrypt plaintext.
    • decrypt: Decrypt ciphertext.
    Copy
    CipherProtocol()

    Bases

    Protocol

    Methods

    method
    encrypt

    Encrypt plaintext. Returns a tuple (cipher name, ciphertext).

    method
    decrypt

    Decrypt ciphertext. Returns the plaintext.

    View source on GitHub