×

Compression of encrypted data in database management systems

  • US 7,730,106 B2
  • Filed: 12/28/2006
  • Issued: 06/01/2010
  • Est. Priority Date: 12/28/2006
  • Status: Active Grant
First Claim
Patent Images

1. A method implemented in a computer-readable storage medium and to execute on a processor for performing the method, comprising:

  • declaring, by the processor, a table in a database management system having one or more columns including an encrypted column with one or more constant values that are to be both encrypted and compressed, some columns are encrypted when an encryption attribute is present, some columns are compressed when a compression attribute is present, and some columns are both encrypted and compressed when both the encryption and compression attribute are present;

    initializing, by the processor, the declared table, the initialization includes;

    encrypting, by the processor, each constant value according to an encryption key to produce a cipher text for each constant value when the encryption attribute is presentcompressing, by the processor, each cipher text when the compression attribute is present; and

    storing, by the processor, each encrypted, compressed, and encrypted and compressed cipher text in a header of the table; and

    selecting, by the processor, one or more rows of data from the initialized table;

    selecting a row includes;

    for each column of data to be selected in the row, determining if the column is to be uncompressed and decrypted; and

    if the column is to be uncompressed and decrypted, retrieving a cipher text value from the table header and decrypting the value to produce the clear text representation.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×