Crypto Server
    Preparing search index...

    Variable STREAM_PQ_ENCRYPT_SCHEMAConst

    STREAM_PQ_ENCRYPT_SCHEMA: {
        tags: string[];
        summary: string;
        description: string;
        body: {
            type: string;
            required: string[];
            additionalProperties: boolean;
            properties: {
                x25519PublicKey: {
                    type: string;
                    minLength: number;
                    maxLength: number;
                };
                mlKemPublicKey: { type: string; minLength: number };
                plaintext: { type: string; minLength: number };
                chunkSize: { type: string; minimum: number; maximum: number };
            };
        };
        response: {
            "200": {
                type: "object";
                description: string;
                required: string[];
                properties: { data: unknown };
            };
        };
    } = ...

    Request schema for POST /v2/stream/pq-encrypt.

    Type Declaration

    • tags: string[]
    • summary: string
    • description: string
    • body: {
          type: string;
          required: string[];
          additionalProperties: boolean;
          properties: {
              x25519PublicKey: { type: string; minLength: number; maxLength: number };
              mlKemPublicKey: { type: string; minLength: number };
              plaintext: { type: string; minLength: number };
              chunkSize: { type: string; minimum: number; maximum: number };
          };
      }
    • response: {
          "200": {
              type: "object";
              description: string;
              required: string[];
              properties: { data: unknown };
          };
      }