Enhanced encryption with format preservation and referential integrity for use with a large language model
Abstract
A system for encrypting information for use with a large language model can include unencrypted information; an identification module configured to identify words to be encrypted in the unencrypted information; a key generation module configured to generate keys corresponding to the words to be encrypted in the unencrypted information, the keys having a similar format as the corresponding words so that the keys preserves the format of the corresponding words to maintain a similar context; a replacement module configured to replace the words with the corresponding keys; and a prompt module configured to determine a prompt to the large language model requesting the large language model to determine an encrypted output based upon the encrypted information, wherein, in response to the reception of the encrypted output from the large language model, the replacement module is configured to replace the keys with the corresponding words to form an unencrypted output.
Claims
exact text as granted — not AI-modified1 . A system for encrypting information for use with a large language model, the system comprising:
unencrypted information that includes at least one word to be encrypted; an identification module configured to identify the at least one word to be encrypted in the unencrypted information; a key generation module configured to generate at least one key corresponding to the at least one word to be encrypted in the unencrypted information, the at least one key having a similar format as the corresponding at least one word so that the key preserves the format of the corresponding word to maintain a similar context; a word-key pair database that includes the at least one word to be encrypted and the corresponding at least one key; a replacement module configured to replace the at least one word with the corresponding at least one key, wherein the replacement module replaces all instances of the at least one word with the corresponding at least one key to form encrypted information; and a prompt module configured to determine a prompt to the large language model requesting the large language model to determine an encrypted output based upon the encrypted information, wherein, in response to the reception of the encrypted output from the large language model, the replacement module is configured to replace the at least one key with the corresponding at least one word to form an unencrypted output.
2 . The system of claim 1 , further comprising:
storage media within which the word-key pair database is stored.
3 . The system of claim 1 , wherein the identification module includes a first computer processor that is configured to use name recognition artificial intelligence software to determine multiple words that are to be encrypted.
4 . The system of claim 1 , wherein the at least one word to be encrypted includes at least one of the following: a phrase, a proper noun, a numerical value, personally identifiable information, protected health information, financial records, human-resource data, commercial information, legal information, and controlled unclassified information.
5 . The system of claim 1 , further comprising:
the large language model is configured to determine the encrypted output as requested by the prompt module and based upon the encrypted information.
6 . The system of claim 5 , wherein the replacement module is in communication with the large language model via the internet.
7 . The system of claim 1 , wherein the key generation module includes a second computer processor that is configured to analyze the format of the at least one word and generate the at least one key having a similar format as the corresponding at least one word.
8 . The system of claim 1 , wherein the unencrypted output is indicative of an inference dependent upon a digital network.
9 . The system of claim 8 , wherein the unencrypted output is a conclusion detailing why one device of the digital network failed to connect to another device of the digital network.
10 . The system of claim 1 , wherein the word-key pair database is discarded after the replacement module forms the unencrypted output.
11 . The system of claim 10 , further comprising:
a new word-key pair database corresponding to new unencrypted information.
12 . The system of claim 1 , wherein the at least one word to be encrypted includes a first word that appears multiple times in the unencrypted information and a second word that is different from the first word.
13 . The system of claim 1 , further comprising:
a user interface configured to allow for viewing of the unencrypted information, the encrypted information, the word-key pair database, the encrypted output, or the unencrypted output.
14 . The system of claim 1 , further comprising:
a graph database management system in communication with a graph database that includes at least a portion of the unencrypted information.
15 . The system of claim 14 , wherein the unencrypted output is a query that is communicated to the graph database management system and the graph database management system is configured to use the query to determine a conclusion based upon the graph database.
16 . A system for encrypting information for use with a large language model, the system comprising:
an identification module configured to identify, in unencrypted information, a word to be encrypted; a key generation module configured to generate a key corresponding to the word to be encrypted in the unencrypted information; a replacement module configured to replace all instances of the word with the corresponding key to form encrypted information, the replacement module replacing all instances of the word in the unencrypted information with the same corresponding key to maintain referential integrity amongst the newly formed encrypted information; and a prompt module configured to generate a prompt to the large language model requesting the large language model to generate an encrypted output based upon the encrypted information that includes the key, wherein, in response to the reception of the encrypted output from the large language model, the replacement module is configured to unencrypt the encrypted output to form an unencrypted output by replacing all instances of the key in the encrypted output with the corresponding word.
17 . The system of claim 16 , further comprising:
a word-key pair database to which the word to be encrypted and the corresponding key are saved for later use by the replacement module to form the unencrypted output.
18 . The system of claim 16 , wherein the key generation module includes a computer processor configured to analyze a format of the word to be encrypted and generate the key that has a similar format to the corresponding word.
19 . The system of claim 16 , wherein the identification module is configured to use name recognition artificial intelligence software to determine the word to be encrypted.
20 . The system of claim 16 , wherein the word to be encrypted includes at least one of the following: a phrase, a proper noun, a numerical value, personally identifiable information, protected health information, financial records, human-resource data, commercial information, legal information, and controlled unclassified information.Join the waitlist — get patent alerts
Track US2025252195A1 — get alerts on status changes and closely related new filings.
We store only your email — no account needed. See our privacy policy.