# US 2022/0284087 A1 · Authorized encryption

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

- Number: US 2022/0284087 A1
- Document ID: US20220284087A1
- Status: Published application
- Kind: A1
- Application number: 17/193,905
- Filed: 2021-03-05
- Published: 2022-09-08
- Earliest claimed: 2021-03-05
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Guerney D. H. Hunt; Steven Robert Hetzler
- Web page: https://patentgrep.com/patent/US20220284087A1

## CPC

- G06F 21/44: Program or device authentication
- G06F 21/64: Protecting data integrity, e.g. using checksums, certificates or signatures
- G06F 21/16: Program or content traceability, e.g. by watermarking
- G06F 21/602: {Providing cryptographic facilities or services}
- H04L 9/088: {Usage controlling of secret information, e.g. techniques for restricting cryptographic keys to pre-authorized uses, different access levels, validity of crypto-period, different key- or password length, or different strong and weak cryptographic algorithms (network architectures or network communication protocols for using time-dependent keys in a packet data network H04L63/068)}
- H04L 9/0894: {Escrow, recovery or storing of secret information, e.g. secret key escrow or cryptographic key storage}
- H04L 9/3242: {involving keyed hash functions, e.g. message authentication codes [MACs], CBC-MAC or HMAC}
- H04L 63/0428: {wherein the data content is protected, e.g. by encrypting or encapsulating the payload}
- H04L 63/14: {for detecting or protecting against malicious traffic}
- H04L 2209/608: Watermarking
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A computer program product includes one or more computer readable storage media, and program instructions collectively stored on the one or more computer readable storage media, the program instructions include program instructions to authenticate an application as authorized to perform encryption and program instructions to receive data at an authenticated encryption layer. The program instructions include program instructions to encrypt the data using an encryption key, wherein the encryption key is not available to the application, and program instructions to generate a watermark token of the encrypted data. The program instructions include program instructions to generate a watermark of the encrypted data using the watermark token and a watermark key and program instructions to send the encrypted data, the watermark token, and the watermark to a storage system. The storage system is configured to verify the encrypted data for storage using the watermark key.

## Claims

### Claim 1

A computer program product, the computer program product comprising:
one or more computer readable storage media, and program instructions collectively stored on the one or more computer readable storage media, the program instructions comprising:
program instructions to authenticate an application as authorized to perform encryption,
program instructions to receive data at an authenticated encryption layer,
program instructions to encrypt the data using an encryption key, wherein the encryption key is not available to the application,
program instructions to generate a watermark token of the encrypted data,
program instructions to generate a watermark of the encrypted data using the watermark token and a watermark key; and
program instructions to send the encrypted data, the watermark token, and the watermark to a storage system, wherein the storage system is configured to verify the encrypted data for storage using the watermark key.

### Claim 2 (depends on 1)

The computer program product of claim 1, wherein the watermark is a keyed-hash message authentication code.

### Claim 3 (depends on 1)

The computer program product of claim 1, comprising:
program instruction to, in response to authenticating the application as authorized to perform encryption, request the encryption key for the data; and
program instruction to request the watermark key for the data.

### Claim 4 (depends on 1)

The computer program product of claim 1, comprising:
program instruction to, prior to the encryption, determine, by a prefilter function, whether the data is pre-encrypted in an unknown encryption key; and
program instruction to, in response to determining that the data is pre-encrypted, block the data from encryption using the encryption key.

### Claim 5 (depends on 1)

The computer program product of claim 1, comprising:
program instruction to, in response to determining that the application is not authorized to perform encryption, block the data from encryption using the encryption key.

### Claim 6

A computer program product, the computer program product comprising:
one or more computer readable storage media, and program instructions collectively stored on the one or more computer readable storage media, the program instructions comprising:
program instructions to receive encrypted data, a watermark token, metadata, and a first watermark of the encrypted data at a storage system,
program instructions to receive a watermark key associated with the metadata,
program instructions to generate a second watermark of the encrypted data using the watermark token and the watermark key; and
program instructions to compare the second watermark of the encrypted data to the first watermark of the encrypted data.

### Claim 7 (depends on 6)

The computer program product of claim 6, comprising, in response to determining that the second watermark matches the first watermark, storing the encrypted data and the first watermark.

### Claim 8 (depends on 6)

The computer program product of claim 6, comprising:
program instruction to, in response to determining that the second watermark does not match the first watermark, blocking storage of the encrypted data and the first watermark.

### Claim 9 (depends on 8)

The computer program product of claim 8, comprising:
program instruction to, sending an alert to a user, in response to determining that the second watermark does not match the first watermark.

### Claim 10 (depends on 6)

The computer program product of claim 6, wherein the storage system does not have access to an encryption key that the encrypted data is encrypted with.

### Claim 11

A computer program product, the computer program product comprising:
one or more computer readable storage media, and program instructions collectively stored on the one or more computer readable storage media, the program instructions comprising:
program instructions to authenticate an application as authorized to perform encryption,
program instructions to receive data at an authenticated encryption layer,
program instructions to encrypt the data using an encryption key, wherein the encryption key is not available to the application,
program instructions to generate a watermark token of the encrypted data using a mixing key,
program instructions to generate a watermark of the encrypted data using the watermark token and a watermark key; and
program instructions to send the encrypted data, the watermark token, and the watermark to a storage system, wherein the storage system is configured to verify the encrypted data for storage using the watermark key.

### Claim 12 (depends on 11)

The computer program product of claim 11, wherein the watermark is a keyed-hash message authentication code.

### Claim 13 (depends on 11)

The computer program product of claim 11, comprising:
program instruction to, in response to authenticating the application as authorized to perform encryption, request the encryption key for the data; and
program instruction to request the watermark key for the data.

### Claim 14 (depends on 11)

The computer program product of claim 11, comprising:
program instruction to, prior to the encryption, determine, by a prefilter function, whether the data is pre-encrypted in an unknown encryption key; and
program instruction to, in response to determining that the data is pre-encrypted, block the data from encryption using the encryption key.

### Claim 15 (depends on 11)

The computer program product of claim 11, comprising:
program instruction to, in response to determining that the application is not authorized to perform encryption, block the data from encryption using the encryption key.

### Claim 16

A computer-implemented method, comprising:
authenticating an application as authorized to perform encryption,
receiving data at an authenticated encryption layer,
encrypting the data using an encryption key, wherein the encryption key is not available to the application,
generating a watermark token of the encrypted data,
generating a watermark of the encrypted data using the watermark token and a watermark key; and
sending the encrypted data, the watermark token, and the watermark to a storage system, wherein the storage system is configured to verify the encrypted data for storage using the watermark key.

### Claim 17 (depends on 16)

The computer-implemented method of claim 16, wherein the watermark is a keyed-hash message authentication code.

### Claim 18 (depends on 16)

The computer-implemented method of claim 16, comprising:
in response to authenticating the application as authorized to perform encryption,
requesting the encryption key for the data; and
requesting the watermark key for the data.

### Claim 19 (depends on 16)

The computer-implemented method of claim 16, comprising, prior to the encryption, determining, by a prefilter function, whether the data is pre-encrypted in an unknown encryption key; and
in response to determining that the data is pre-encrypted, blocking the data from encryption using the encryption key.

### Claim 20 (depends on 16)

The computer-implemented method of claim 16, comprising, in response to determining that the application is not authorized to perform encryption, blocking the data from encryption using the encryption key.

### Claim 21

A computer-implemented method, comprising:
receiving encrypted data, a watermark token, metadata, and a first watermark of the encrypted data at a storage system,
receiving a watermark key associated with the metadata,
generating a second watermark of the encrypted data using the watermark token and the watermark key; and
comparing the second watermark of the encrypted data to the first watermark of the encrypted data.

### Claim 22 (depends on 21)

The computer-implemented method of claim 21, comprising, in response to determining that the second watermark matches the first watermark, storing the encrypted data and the first watermark.

### Claim 23 (depends on 21)

The computer-implemented method of claim 21, comprising: in response to determining that the second watermark does not match the first watermark, blocking storage of the encrypted data and the first watermark.

### Claim 24 (depends on 23)

The computer-implemented method of claim 23, comprising: sending an alert to a user, in response to determining that the second watermark does not match the first watermark.

### Claim 25 (depends on 22)

The computer-implemented method of claim 22, wherein the storage system does not have access to an encryption key that the encrypted data is encrypted with.
