# US 2024/0039899 A1 · System and method for web-browser based end-to-end encrypted messaging and for securely implementing cryptography using client-side scripting in a web browser

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2024/0039899 A1
- Document ID: US20240039899A1
- Status: Published application
- Kind: A1
- Application number: 18/377,522
- Filed: 2023-10-06
- Published: 2024-02-01
- Earliest claimed: 2019-02-04
- Assignees: Meixler Technologies, Inc.
- Applicants: Meixler Technologies, Inc.
- Inventors: Michael A. MEIXLER
- Web page: https://patentgrep.com/patent/US20240039899A1

## CPC

- H04L 63/0428: {wherein the data content is protected, e.g. by encrypting or encapsulating the payload}
- G06F 16/958: Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
- G06F 21/565: {by checking file integrity}
- G06F 40/14: Tree-structured documents (parsing G06F40/205; validation G06F40/226)
- H04L 9/0643: {Hash functions, e.g. MD5, SHA, HMAC or f9 MAC}
- H04L 9/3247: {involving digital signatures}
- G06F 2221/033: Test or assess software
- H04L 9/0631: {Substitution permutation network [SPN], i.e. cipher composed of a number of stages or rounds each involving linear and nonlinear transformations, e.g. AES algorithms}
- H04L 9/0637: {Modes of operation, e.g. cipher block chaining [CBC], electronic codebook [ECB] or Galois/counter mode [GCM]}
- H04L 9/3263: {involving certificates, e.g. public key certificate [PKC] or attribute certificate [AC]; Public key infrastructure [PKI] arrangements (network architectures or network communication protocols for supporting authentication of entities using certificates in a packet data network H04L63/0823)}
- H04L 67/02: based on web technology, e.g. hypertext transfer protocol [HTTP]
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A system and method for sending end-to-end encrypted messages comprising a sender's web browser, a recipient's web browser, and a server. The system and method avoid both the sender and the recipient having to download encryption programs themselves onto their respective computers. In addition, the system and method ensure that unencrypted messages are never disclosed to the server. The system and method operate by first downloading the web browser files, verifying them and then preventing the web browser page from refreshing, thereby preventing malicious code from entering the web browser each time the web browser page would normally be refreshed. The system and method also provide for securely implementing cryptography using client-side scripting in a web browser.

## Claims

### Claim at position 1

-46. (canceled)

### Claim 47

A method of verifying integrity of a root document in a set of files that define a web page, where said root document is downloaded from an untrusted web server to a user's web browser running on a computer that prevents entry of malicious code into said root document, said method comprising:
providing said root document and making said root document available for download from said untrusted web server;
downloading, by said user's web browser, said root document from said untrusted web server;
obtaining, by said user's web browser, a cryptographic value from a trusted source;
performing, by said user's web browser, a cryptographic analysis of said root document in conjunction with said cryptographic value; and
verifying, by said web browser, the integrity of said root document only upon confirmation by said cryptographic analysis.

### Claim 48 (depends on 47)

The method of claim 47 wherein said web page is updated dynamically while remaining loaded in said user's browser.

### Claim 49

A method for implementing web browser based end-to-end encryption between a first device associated with a sender and a second device associated with a recipient over internet, said method comprising:
running a first web browser on said first device associated with the sender;
downloading, by said first web browser, a first set of files that defines a first web page, wherein said first set of files contains code for presenting a form for composing a message, and wherein said first set of files contains a first client-side scripting for implementing message encryption;
composing, by said sender, the message using said form;
executing, by said first web browser, said first client-side scripting to:
encrypt said message composed by said sender using a recipient public key; and
upload said encrypted message to a server;
running a second web browser on said second device associated with the recipient;
downloading by, said second web browser, a second set of files that define a second web page, wherein said second set of files contains code for displaying messages, and wherein said second set of files contains a second client-side scripting for implementing message decryption;
executing, by said second web browser, said second client-side scripting to:
downloading said encrypted message from said server,
decrypting said encrypted message using a recipient's private key, and
displaying said decrypted message.
