LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
  • Overview
  • LangGraph Checkpoint
    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
    Checkpoint Postgres
    Store Postgres
    Checkpoint SQLite
    LangGraph Prebuilt
    LangGraph CLI
    LangGraph SDK
    LangGraph Supervisor
    LangGraph Swarm
    Language
    Theme
    Pythonlanggraph.checkpointserdeencryptedEncryptedSerializer
    Class●Since v2.0

    EncryptedSerializer

    Serializer that encrypts and decrypts data using an encryption protocol.

    Copy
    EncryptedSerializer(
      self,
      cipher: CipherProtocol,
      serde: SerializerProtocol = JsonPlusSerializer()
    )

    Bases

    SerializerProtocol

    Used in Docs

    • Persistence

    Constructors

    constructor
    __init__
    NameType
    cipherCipherProtocol
    serdeSerializerProtocol

    Attributes

    attribute
    cipher: cipher
    attribute
    serde: serde

    Methods

    method
    dumps_typed

    Serialize an object to a tuple (type, bytes) and encrypt the bytes.

    method
    loads_typed
    method
    from_pycryptodome_aes

    Create an EncryptedSerializer using AES encryption.

    View source on GitHub