Identifying the creator of an encrypted object

By using a unique nonce key linked to a DEK and generating a nonce based on plaintext and metadata, the creator of an encrypted object can be identified while maintaining AES-GCM security and integrity, addressing the challenge of creator identification in existing encryption methods.

JP7569136B2Active Publication Date: 2024-10-17INTERNATIONAL BUSINESS MACHINE CORPORATION
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
JP2022569571
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2020-05-19
Filing Date
2021-03-24
Publication Date
2024-10-17
Estimated Expiration
2041-03-24

AI Technical Summary

Technical Problem

Existing encryption methods, such as AES-GCM, do not effectively identify the creator of an encrypted object without compromising the security and integrity of the ciphertext.

Method used

Implementing a unique nonce key for each user, linked to a data encryption key (DEK), generating a nonce based on plaintext and metadata, and creating a metadata authentication tag to ensure the creator can be identified while maintaining ciphertext security.

Benefits of technology

Enables identification of the creator of an encrypted object without reusing nonces, preserving the integrity and security of the AES-GCM algorithm, and providing performance benefits for repeated encryption and decryption operations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007569136000001
    Figure 0007569136000001
  • Figure 0007569136000002
    Figure 0007569136000002
  • Figure 0007569136000003
    Figure 0007569136000003
Patent Text Reader

Abstract

A method, computer system, and computer program product are provided for encrypting an object so that the creator of the encrypted object can be identified. The method may include, by a processor, receiving an unencrypted object including plaintext and metadata describing the plaintext; and, in response to a request from a user, obtaining, by the processor, a data encryption key (DEK) and a nonce key for the unencrypted object, the nonce key being unique to the user. The method may also include, by the processor, encrypting the unencrypted object. The encrypting includes generating a nonce based at least in part on the plaintext and the nonce key, and generating a ciphertext and a metadata authentication tag including a signature of the metadata, the generating based at least in part on the plaintext, the metadata, the DEK, and the nonce. The method further includes creating an encrypted object including the ciphertext, the metadata, and the metadata authentication tag.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates generally to encrypting data, and more particularly to encrypting data using a Data Encryption Key (DEK) so that the creator of the encrypted object can be identified.

[0002] The Advanced Encryption Standard (AES) specifies a cryptographic algorithm that can be used to secure electronic data. The AES algorithm is a symmetric block cipher that can encrypt (encipher) and decrypt (decipher) information. Encryption converts data into an unintelligible form of data referred to as ciphertext, and decrypting ciphertext converts data back into its original form referred to as plaintext. The AES algorithm can encrypt and decrypt data in blocks of 128 bits using encryption keys of 128, 192, and 256 bits.

[0003] AES in Galois / Counter Mode (AES-GCM) provides both authenticated encryption (confidentiality and authentication) and the ability to check the integrity and authentication of additional authenticated data (AAD) that is sent in the clear (i.e., unencrypted). AES-CGM encryption has four inputs: a key (e.g., AES key or DEK), an initialization vector (IV) (also referred to as a "nonce"), plaintext, and an optional AAD. The nonce and AAD are passed in the clear, i.e., they are output from AES-GCM encryption in the same form as they were input to AES-GCM. There are two additional outputs from AES-GCM, a ciphertext of the same length as the plaintext, and an authentication tag that is used to authenticate the AAD if it is input to the encryption.

[0004] AES-GCM is a stream cipher, and therefore requires that a different IV be used for each stream encrypted with the DEK, thus resulting in a different ciphertext value each time the same plaintext value is encrypted using AES-GCM with the same DEK. Summary of the Invention

[0005] An embodiment of the present invention is directed to encrypting an object such that the creator of the encrypted object can be identified. A non-limiting example computer-implemented method includes receiving, by a processor, an unencrypted object including plaintext and metadata describing the plaintext, and obtaining, by the processor, in response to a request from a user, a data encryption key (DEK) and a nonce key for the unencrypted object, where the nonce key is unique to the user. The method also includes encrypting, by the processor, the unencrypted object. The encrypting includes generating a nonce based at least in part on the plaintext and the nonce key, and generating a metadata authentication tag including a signature of the ciphertext and the metadata, where the generating is based at least in part on the plaintext, the metadata, the DEK and the nonce. The method further includes creating an encrypted object including the ciphertext, the metadata, and the metadata authentication tag.

[0006] Other embodiments of the present invention implement features of the above-described methods in computer systems and computer program products.

[0007] Additional technical features and advantages are realized through the techniques of the present invention. Embodiments and aspects of the present invention are described in detail herein and are considered a part of the claimed subject matter. For a better understanding, reference is made to the detailed description and drawings.

[0008] The particulars of the exclusive rights set forth herein are particularly pointed out and distinctly claimed in the claims at the end of the specification. These and other features and advantages of embodiments of the present invention will become apparent from the following detailed description taken in conjunction with the accompanying drawings. [Brief description of the drawings]

[0009] [Figure 1] 1 illustrates a block diagram of an encryption engine in accordance with one or more embodiments of the present invention. [Diagram 2] FIG. 2 illustrates a block diagram of a decoding engine in accordance with one or more embodiments of the present invention. [Diagram 3] FIG. 1 illustrates a block diagram of a nonce generation engine in accordance with one or more embodiments of the present invention. [Figure 4] 1 illustrates a flow diagram of a method for encrypting an object so that the creator of the encrypted object can be identified, in accordance with one or more embodiments of the present invention. [Diagram 5] 1 illustrates a distributed system environment for encrypting, transmitting, and decrypting objects in accordance with one or more embodiments of the present invention. [Figure 6] 1 illustrates a flow diagram of a method for identifying the creator of an encrypted object in accordance with one or more embodiments of the present invention. [Figure 7] 1 illustrates a cloud computing environment in accordance with one or more embodiments of the present invention. [Figure 8] 1 illustrates abstraction model layers in accordance with one or more embodiments of the present invention. [Figure 9] 1 illustrates a system for encrypting an object so that the creator of the encrypted object can be identified, in accordance with one or more embodiments of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0010] The drawings shown herein are exemplary. There may be many variations in the drawings or the operations depicted in the drawings without departing from the spirit of the invention. For example, operations may be performed in a different order, or operations may be added, deleted, or modified. Also, the term "coupled" and its derivatives describe having a communication path between two elements, and do not imply a direct connection between the elements without an intervening element / connection between the elements. All of these variations are considered part of the specification.

[0011] One or more embodiments of the present invention provide the ability to encrypt an object such that the creator of the encrypted object can be identified. According to one or more embodiments of the present invention, an Advanced Encryption Standard in Galois / Counter Mode with an authentication tag (AES-GCM) is implemented such that the creator of the encrypted object can be determined. This is performed without compromising the strength of the ciphertext produced by the AES-GCM algorithm.

[0012] The AES-GCM algorithm with an authentication tag can be used to bind plaintext (unencrypted) metadata to the ciphertext. As is known in the art, each AES-GCM operation or encryption for a given DEK requires a unique nonce as input to the encryption operation along with the DEK and the plaintext to be encrypted. That is, the set of nonce values ​​used with any DEK must not contain any duplicate values. Using the same nonce for two different messages encrypted with the same DEK affects the security properties of AES-GCM encryption. Thus, every time the same plaintext value is encrypted using AES-GCM, it results in a different ciphertext value, even if the same DEK is used. The nonce used to perform the encryption also needs to be known by the decryption algorithm in order to decrypt the ciphertext back to plaintext. Having a unique nonce key for each user allows for determining the creator of an encrypted object, as provided by one or more embodiments described herein. For example, a single DEK can be linked with multiple different nonce keys, each different from each other and each associated with a different user. In some embodiments, a single nonce key is prohibited from being linked to two or more different DEKs.

[0013] As used herein, an "object" includes plaintext (or ciphertext, if the object is encrypted) and metadata that describes the plaintext. Examples of metadata include, but are not limited to, names or labels of the plaintext data (e.g., "address," "department number," "name," etc.) and / or characteristics of the plaintext (e.g., integers, strings, etc.).

[0014] According to one or more embodiments of the present invention, once the DEK is defined, a partner key, referred to herein as a "nonce key", is also created. According to one or more embodiments of the present invention, an object includes or is linked to the DEK, one or more nonce keys, and a nonce generated based on the nonce key and the plaintext included in the object. According to one or more embodiments of the present invention, the object is linked to the DEK, and the DEK is linked to the nonce key. Access to the nonce key is not required to perform the decryption, as only the system creating the object, and thus the nonce, needs access to the nonce key. According to one or more embodiments of the present invention, the number of bits of the plaintext is equal to the number of bits of the ciphertext. In an embodiment in which the AES-GCM encryption algorithm is applied, a nonce having 96 bits needs to be generated, which can be performed using the AES for Cipher-based Message Authentication Code (AES-CMAC) encryption algorithm. The AES-CMAC algorithm takes the plaintext and the nonce key as inputs and outputs a nonce. Other encryption algorithms can also be used to generate the nonce, and the encryption algorithm used can be changed, for example, based on the number of bits of the nonce.

[0015] According to one or more embodiments of the present invention, the generated nonce is input into the AES-GCM algorithm along with the DEK, associated metadata, and the same plaintext used during the phase in which the nonce was generated. The final message or encrypted object output from the AES-GCM algorithm is the ciphertext and tag, along with the associated metadata (unaltered from the input metadata) and the generated nonce.

[0016] In this way, the final package is generated, keeping its use specific to a single AES-GCM operation, ensuring that the DEK is not reused as part of the nonce generation process. The use of the nonce derivation described herein provides that the nonce is not reused across different plaintext messages (which would compromise the integrity of the AES-GCM algorithm). In addition, the decryption and verification phases are a single operation. The AES-GCM algorithm is re-run with the ciphertext, tag, nonce and associated metadata (plaintext), which are all part of the object or message output from encryption.

[0017] One or more embodiments of the present invention provide the additional technical advantage that nonce generation is performed only once, when an object or message is created. For applications in which objects are encrypted (e.g., stored) and decrypted many times, it provides performance and resource usage benefits in not having to perform nonce generation each time an object is encrypted. Although examples are described herein with respect to the AES-GCM encryption algorithm, embodiments are not limited to AES-GCM and may be applied to other encryption algorithms that require a unique nonce.

[0018] Referring now to Figure 1, a block diagram 100 of an encryption engine is generally shown in accordance with one or more embodiments of the present invention. As shown in Figure 1, plaintext 108 and metadata 104 describing the plaintext 108 are input to an AES-GCM encryption engine 102, along with a nonce 106 and a DEK 110. The AES-GCM encryption engine 102 may be executed, for example, on a processor 905 located in the computer 901 of Figure 9 or on a processor located in the cloud computing node 10 of Figure 7, as described further herein.

[0019] According to one or more embodiments of the invention, the plaintext 108 and the metadata 104 are included in the unencrypted object. Additionally, the nonce 106 and the DEK 110 are linked to the object such that when the object is encrypted or decrypted, the linked nonce 106 and the linked DEK 110 are input to the encryption and decryption algorithms. According to one or more embodiments of the invention, the linked nonce 106 and / or the linked DEK 110 are included in the object (e.g., via a pointer in the object or by being stored in the object). The nonce 106 is generated before encryption is performed by the AES-GCM encryption engine 102, as described below with reference to FIG. 3.

[0020] As shown in the embodiment of FIG. 1, output from the AES-GCM encryption engine 102 is an encrypted object that includes ciphertext 112 and tag 114 (also referred to herein as a “metadata authentication tag”). Tag 114 includes a signature of the metadata 104 that was input to the encryption process and is used by the decryption process to verify that the metadata 104 has not been tampered with since it was input to the encryption process. Also output from the AES-GCM encryption engine 102 are the metadata 104 and nonce 106, unchanged from when they were input. In an embodiment, the AES-GCM encryption engine does not output the metadata 104 or the nonce 106, or both, but instead one or both are accessible via inclusion or linking in the object.

[0021] Referring now to Figure 2, a block diagram 200 of a decryption engine is generally shown in accordance with one or more embodiments of the present invention. As shown in Figure 2, the encrypted object, including the ciphertext 112 and tag 114 generated by the AES-GCM encryption engine 102 of Figure 1, is input to an AES-GCM decryption engine 202. Also input to the AES-GCM decryption engine 202 are the DEK 110, the nonce 106, and the metadata 104. The AES-GCM decryption engine 202 may be executed, for example, on a processor 905 located in the computer 901 of Figure 9 or on a processor located in the cloud computing node 10 of Figure 7.

[0022] According to one or more embodiments of the present invention, the ciphertext 112 generated by the AES-GCM encryption engine 102 is included within an encrypted object (e.g., via a pointer within the object or by being stored within the object) for input to a decryption algorithm. As shown in the embodiment of FIG. 2, the output from the AES-GCM decryption engine 202 includes an unencrypted object that includes the plaintext 108, a metadata validity indicator 204, and metadata. The metadata validity indicator 204 is used to verify that the metadata 104 has not been altered, i.e., that the metadata 104 output from the decryption process matches the metadata input to the encryption process. Whether the metadata has been altered is reflected in the value of the metadata validity indicator 204. In an embodiment, the AES-GCM decryption engine 202 does not output the metadata 104, instead the metadata 104 is accessible via inclusion or link to the object.

[0023] Referring now to FIG. 3, a nonce generation engine 300 is generally shown in accordance with one or more embodiments of the present invention. As shown in FIG. 3, a nonce key 304 and plaintext 108 are input to an AES-GCM encryption engine 302 to generate a nonce 106 for the plaintext 108. The AES-GCM encryption engine 302 may be executed, for example, on a processor 905 located in the computer 901 of FIG. 9 or on a processor located in the cloud computing node 10 of FIG. 7. As previously mentioned, the embodiment of the nonce generation engine is not limited to AES-CMAC as shown in FIG. 3, but may be implemented as any encryption algorithm that generates a nonce of a length required by the particular encryption algorithm used to encrypt and decrypt the plaintext. In the example embodiment shown in FIG. 3, an AES-GCM-96 encryption algorithm may be used to provide a nonce having a length of 96 bits to encrypt plaintext having a length of 96 bits.

[0024] As previously discussed, multiple nonce keys 304 for an object(s) may be paired with the DEK 110 for the object(s). Each of the multiple nonce keys 304 is assigned to or corresponds to a particular user. In one embodiment of the invention, the multiple nonce keys 304 are created in response to the DEK 110 being created. In accordance with one or more embodiments of the invention, no two nonce keys 304 can have the same value, and no two nonce keys can have the same value as the DEK 110.

[0025] The embodiments described herein with respect to block diagram 100 of FIG. 1, block diagram 200 of FIG. 2, or block diagram 300 of FIG. 3, or combinations thereof, may be implemented with any suitable logic, where logic, as may be referred to herein, in various embodiments, may include any suitable hardware (e.g., a processor, an embedded controller, or an application specific integrated circuit, among others), software (e.g., an application, among others), firmware, or any suitable combination of hardware, software, and firmware.

[0026] Referring now to Figure 4, there is shown generally a flow diagram of a method 400 for encrypting an object such that the creator of the encrypted object can be identified, in accordance with one or more embodiments of the present invention. All or a portion of the process shown in Figure 4 may be performed, for example, by a processor 905 located in the computer 901 of Figure 9 or on a processor located in the cloud computing node 10 of Figure 7.

[0027] At block 402, an unencrypted object including plaintext and metadata is received by an encryption engine, such as the AES-GCM encryption engine 102 of Figure 1. Next, as indicated at block 404, a DEK and a nonce for the object are obtained by the encryption engine. According to one or more embodiments of the invention, the nonce is previously generated by a nonce generation engine, such as the AES-GCM encryption engine 302 of Figure 3, based on the plaintext and a nonce key associated with the user performing the encryption. According to one or more embodiments of the invention, the nonce key and the DEK for the object have different values ​​and are derived independently of each other's content or values.

[0028] In an example embodiment of the invention, multiple nonce keys are created, linked to different users, and linked to an object based on detecting that a DEK has been created and linked to the object. In some embodiments, a nonce for an object is generated once in response to the object being created, and the nonce is linked to the object until the object is deleted or the plaintext in the object is changed. The object is then encrypted by an encryption engine, as shown in block 406. The encryption includes generating a ciphertext and a metadata authentication tag (including a signature of the metadata) based on the plaintext, the metadata, the DEK, and the nonce. At block 408, the ciphertext and the metadata authentication tag are linked to or included in the object.

[0029] 4 is not intended to imply that the operations of method 400 be performed in a particular order or that all of the operations of method 400 are included in every instance. Additionally, method 400 may include any suitable number of additional operations.

[0030] Referring now to Figure 5, a distributed system environment 500 for encrypting, transmitting, and decrypting objects is generally illustrated in accordance with one or more embodiments of the present invention. As illustrated in Figure 5, a processor 504 at a first location and a processor 506 at a second location are in communication over a wired or wireless network 502. In other embodiments, the communication may be over a direct connection. As illustrated in Figure 5, both processors have access to a DEK (DEK1 508) and the first processor has access to a nonce key (NK1 510) for the object.

[0031] As shown in FIG. 5, the first location processor 504 creates an encrypted object 512 including the ciphertext, metadata, tag, and nonce. The nonce may be created as described above with respect to FIG. 3. The first location processor 504 sends the encrypted object 514 including the ciphertext, metadata, tag, and nonce to the second location processor 506. The second location processor 506 receives the encrypted object 516, then unpacks and decrypts the object 518, creating a decrypted object using the nonce and DEK1 508 sent as part of the object. According to one or more embodiments of the present invention, the first location processor 504 or the second location processor 506, or both, are implemented by one or more processors located in the cloud computing node 10 of FIG. 7.

[0032] Referring now to Figure 6, a flow diagram of a method 600 for identifying the creator of an encrypted object is generally shown, in accordance with one or more embodiments of the present invention. All or a portion of the process shown in Figure 6 may be performed, for example, by a processor 905 located in the computer 901 of Figure 9 or on a processor located in the cloud computing node 10 of Figure 7.

[0033] As shown in block 602, the method 600 includes receiving an encrypted object previously generated by encrypting the object based at least in part on the DEK and a nonce. Next, as shown in block 604, the method includes obtaining a plurality of nonce keys corresponding to the DEK, where each of the plurality of nonce keys corresponds to a particular user. The method 600 also includes obtaining a copy of an unencrypted object corresponding to the encrypted object, as shown in block 606. In one embodiment, the unencrypted object corresponding to the encrypted object is obtained by decrypting the encrypted object.

[0034] According to one or more embodiments of the present invention, the encrypted object, including the DEK, ciphertext, metadata authentication tag, object, metadata, and nonce, is sent as input to a decryption engine, such as AES-GCM decryption engine 202 of Figure 2. According to one or more embodiments of the present invention, both the metadata and the nonce are sent as plaintext (in unencrypted form). The decryption engine outputs the unencrypted object, including the plaintext, the metadata, and an indicator of metadata validity, such as metadata validity indicator 204 of Figure 2.

[0035] Next, the method 600 includes generating a plurality of nonces, each of the plurality of nonces created using one of the plurality of nonce keys, as shown in block 608. The method 600 then proceeds to block 610 and identifies one of the plurality of nonces that matches a nonce used to create a previously encrypted object. The method 600 concludes at block 612 by identifying the particular user associated with the nonce key used to generate one of the plurality of nonces as the creator of the encrypted object.

[0036] In an example embodiment, if the data encryption key (DEK) becomes unavailable, the nonce for the object can be recalculated from the original plaintext data and multiple nonce keys. As a result, the nonce key used to create the nonce and the associated user can be identified. In an example embodiment, if a data compromise occurs, the data encryption key for the object can be revoked, thereby preventing all copies of the encrypted object from being accessed. However, the source of the data compromise can be identified based on identifying the nonce key used to create the nonce associated with the leaked encrypted object.

[0037] Although this disclosure includes detailed descriptions of cloud computing, it should be understood that implementations of the teachings described herein are not limited to cloud computing environments, and embodiments of the invention may be implemented in any other type of computing environment now known or later developed.

[0038] Cloud computing is a service delivery model that enables convenient, on-demand network access to a shared pool of configurable computing resources (e.g., networks, network bandwidth, servers, processing, memory, storage, applications, virtual machines, and services) that can be rapidly provisioned and released with minimal management effort or interaction with the provider of the service. The cloud model can include at least five characteristics, at least three service models, and at least four deployment models.

[0039] Its features are as follows:

[0040] On-Demand Self-Service: Cloud consumers can automatically and unilaterally receive provision of computing capacity, such as server time and network storage, as needed without the need for human interaction with the provider of this service.

[0041] Broad Network Access: Capabilities are available over the network and accessed through standard mechanisms that facilitate use by heterogeneous thin or thick client platforms (eg, mobile phones, laptops and PDAs).

[0042] Resource pooling: To serve a large number of consumers using a multi-tenant model, a provider's computing resources are pooled, and different physical and virtual resources are dynamically allocated and reallocated on demand. Consumers generally have no control over or knowledge of the exact location of the provided resources, but there is a sense of location independence in the sense that they can specify the location at a higher level of abstraction (e.g. country, state, or data center).

[0043] Rapid elasticity: Features can be provisioned quickly and elastically, sometimes automatically, to scale out quickly, and can be released quickly to scale in quickly. To the consumer, the features available for provisioning often appear infinite, and they can buy as much or as little as they want, at any time.

[0044] Measured service: Cloud systems automatically control and optimize resource usage by intervening in metering at a level of abstraction appropriate to the type of service (e.g., storage, processing, bandwidth, and user accounts in use). Resource usage can be monitored, controlled, and reported, providing transparency to both providers and consumers of the services being utilized.

[0045] The service model is as follows:

[0046] Software as a Service (SaaS): This functionality offered to a consumer is the ability to use a provider's applications running on a cloud infrastructure. The applications are accessible from a variety of client devices through thin-client interfaces such as web browsers (e.g. web-based email). Except for possibly limited user-specific application configuration settings, the consumer does not manage or control the underlying cloud infrastructure, including the network, servers, operating systems, storage, or individual application functions.

[0047] Platform as a Service (PaaS): This capability offered to consumers is the ability to deploy consumer-created or acquired applications written using provider-supported programming languages ​​and tools on a cloud infrastructure. The consumer does not manage or control the underlying cloud infrastructure, including networks, servers, operating systems, or storage, but does have control over the deployed applications and possibly the application hosting environment configuration.

[0048] Infrastructure as a Service (IaaS): This facility provided to consumers supplies processing, storage, network and other basic computing resources on which the consumer can deploy and run any software, which may include operating systems and applications. The consumer does not manage or control the underlying cloud infrastructure, but does have control over the operating systems, storage and deployed applications, and in some cases, limited control over selected network components (e.g., host firewalls).

[0049] The deployment models are:

[0050] Private Cloud: The cloud infrastructure is operated solely for an organization. The infrastructure can be managed by the organization or a third party and can exist on-premises or off-premises.

[0051] Community Cloud: The cloud infrastructure is shared by several organizations to support a specific community with shared interests (e.g., mission, security requirements, policies and compliance concerns). The infrastructure can be managed by the organizations or a third party and can exist on-premise or off-premise.

[0052] Public Cloud: The cloud infrastructure is available to the general public or large industry groups and is owned by an organization that sells cloud services.

[0053] Hybrid Cloud: This cloud infrastructure is a composite of two or more clouds (private, community or public) that maintain their own distinct entities but are joined together by standardized or proprietary technologies that allow data and application portability (e.g. cloud bursting for load balancing between clouds).

[0054] A cloud computing environment is a service-oriented environment that emphasizes statelessness, low coupling, modularity and semantic interoperability. At the heart of cloud computing is an infrastructure that includes a network of interconnected nodes.

[0055] 7, an exemplary cloud computing environment 50 is shown. As shown, the cloud computing environment 50 includes one or more cloud computing nodes 10, with which local computing devices used by cloud consumers, such as a personal digital assistant (PDA) or mobile phone 54A, a desktop computer 54B, a laptop computer 54C, or an automobile computer system 54N, or combinations thereof, can communicate. The nodes 10 can communicate with each other. The nodes may be physically or virtually grouped into one or more networks, such as a private, community, public, or hybrid cloud, or combinations thereof, as described above (not shown). This enables the cloud computing environment 50 to provide infrastructure, platform, or software, or combinations thereof, as a service, so that cloud consumers do not need to maintain resources on their local computing devices. It will be understood that the types of computing devices 54A-N illustrated in FIG. 7 are intended to be examples only, and that the computing nodes 10 and cloud computing environment 50 are capable of communicating with any type of computerized device over any type of network or addressable network connection, or both (e.g., using a web browser).

[0056] Referring now to Figure 8, a set of functional abstraction layers provided by cloud computing environment 50 (Figure 7) is shown. It should be understood in advance that the components, layers and functions shown in Figure 8 are intended to be examples only, and embodiments of the present invention are not limited thereto. As shown, the following layers and corresponding functions are provided:

[0057] Hardware and software layer 60 includes hardware and software components. Examples of hardware components include mainframes 61, RISC (reduced instruction set computer) architecture based servers 62, servers 63, blade servers 64, storage devices 65, and networks and networking components 66. In some embodiments, software components include network application server software 67 and database software 68.

[0058] The virtualization layer 70 provides an abstraction layer from which the following examples of virtual entities can be provided: virtual servers 71, virtual storage 72, virtual networks including virtual private networks 73, virtual applications and operating systems 74, and virtual clients 75.

[0059] In one example, the management layer 80 may provide the following functions: Resource Provisioning 81 provides dynamic procurement of computing and other resources utilized to execute tasks within the cloud computing environment. Metering and Pricing 82 provides cost tracking as resources are utilized within the cloud computing environment and charging or billing for the consumption of these resources. In one example, these resources may include application software licenses. Security provides identity verification of cloud consumers and tasks and protection of data and other resources. User Portal 83 provides access to the cloud computing environment for consumers and system administrators. Service Level Management 84 provides allocation and management of cloud computing resources such that required service levels are achieved. Service Level Agreement (SLA) Planning and Fulfillment 85 provides proactive coordination and procurement of cloud computing resources anticipated to be needed in the future by SLAs.

[0060] The workload tier 90 provides examples of functions that can utilize a cloud computing environment. Examples of workloads and functions that can be provided from this tier include mapping and navigation 91, software development and lifecycle management 92, virtual classroom instructional delivery 93, data analytics processing 94, transaction processing 95, and data encryption / decryption 96.

[0061] It should be noted that one or more embodiments of the present invention can be implemented in conjunction with any type of computing environment now known or later developed.

[0062] Referring now to Figure 9, a computer system for encrypting an object such that the creator of the encrypted object can be identified, in accordance with one or more embodiments of the present invention, is generally illustrated. The methods described herein may be implemented in hardware, software (e.g., firmware), or a combination thereof. In one or more exemplary embodiments of the present invention, the methods described herein are implemented in hardware as part of a microprocessor of a special purpose or general purpose digital computer, such as a personal computer, a workstation, or a mainframe computer. Thus, system 900 may include a general purpose computer or mainframe 901 capable of simultaneously running multiple instances of an O / S.

[0063] In one or more exemplary embodiments of the present invention, from a hardware architecture perspective, as shown in FIG. 9, a computer 901 includes one or more processors 905, a memory 910 coupled to a memory controller 915, and one or more input and / or output (I / O) devices 940, 945 (or peripherals) communicatively coupled via a local input / output controller 935. The input / output controller 935 can be, for example, but not limited to, one or more buses or other wired or wireless connections. The input / output controller 935 can have additional elements, such as controllers, buffers (caches), drivers, repeaters, and receivers to enable communication, but are omitted for simplicity. Additionally, the local interface can include address, control, or data connections, or combinations thereof, to enable appropriate communication between the aforementioned elements. The input / output controller 935 can include multiple sub-channels configured to access the output devices 940 and 945. The sub-channels can include fiber optic communication ports.

[0064] The processor 905 is a hardware device for executing software, particularly software stored in storage 902, such as cache storage or memory 910. The processor 905 can be any custom or commercially available processor, a central processing unit (CPU), a coprocessor among several processors associated with the computer 901, a semiconductor-based (in the form of a microchip or chip set) microprocessor, a microprocessor, or generally any device for executing instructions.

[0065] The memory 910 can include any one or combination of volatile memory elements (e.g., random access memory (RAM, such as DRAM, SRAM, SDRAM, etc.)) and non-volatile memory elements (e.g., ROM, erasable programmable read-only memory (EPROM), electronically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), tape, compact disk read-only memory (CD-ROM), disk, diskette, cartridge, cassette, or the like). Additionally, the memory 910 can incorporate electronic, magnetic, optical, or other types of storage media or combinations thereof. It is noted that the memory 910 can have a distributed architecture, where various elements are located remotely from others, but are accessible by the processor 905.

[0066] The instructions in memory 910 may include one or more separate programs, each including an ordered list of executable instructions for implementing a logical function. In the example of Figure 9, the instructions in memory 910 conform to an operating system (OS) 911. The operating system 911 essentially controls the execution of other computer programs and provides scheduling, input / output control, file and data management, memory management, and communication control and related services.

[0067] According to one or more embodiments of the invention, memory 910 may include multiple logical partitions (LPARs), each running an instance of an operating system. The LPARs may be managed by a hypervisor, which may be a program stored in memory 910 and executed by processor 905.

[0068] In one or more exemplary embodiments of the present invention, a conventional keyboard 950 and mouse 955 may be coupled to the input / output controller 935. Other output devices, such as I / O devices 940, 945, may include, for example, but are not limited to, input devices such as printers, scanners, microphones, etc. Finally, the I / O devices 940, 945 may further include devices that communicate with both input and output, such as, for example, but are not limited to, network interface cards (NICs) or modulators / demodulators (for accessing other files, devices, systems, or networks), radio frequency (RF) or other transceivers, telephone interfaces, bridges, routers, etc. The system 900 may further include a display controller 925 coupled to the display 930.

[0069] In one or more exemplary embodiments of the present invention, the system 900 may further include a network interface 960 for coupling to a network 965. The network 965 may be an IP-based network for communication over a broadband connection between the computer 901 and any external servers, clients, etc. The network 965 transmits and receives data between the computer 901 and the external systems. In an exemplary embodiment, the network 965 may manage an IP network managed by a service provider. The network 965 may be implemented in a wireless manner, using wireless protocols and technologies such as, for example, Wi-Fi, WiMax, etc. The network 965 may be a packet-switched network, such as a local area network, a wide area network, a metropolitan area network, an Internet network, or other similar types of network environments. Network 965 may be a fixed wireless network, a wireless local area network (LAN), a wireless wide area network (WAN), a personal area network (PAN), a virtual private network (VPN), the Internet, or any other suitable network system and includes facilities for receiving and transmitting signals.

[0070] If the computer 901 is a PC, workstation, intelligent device, etc., the instructions in the memory 910 may further include a Basic Input Output System (BIOS) (omitted for simplicity). The BIOS is a set of essential software routines that initializes and tests the hardware at startup, starts the OS 911, and supports the transfer of data between hardware devices. The BIOS is stored in ROM so that it may be executed when the computer boots.

[0071] When computer 901 is in operation, processor 905 is configured to execute instructions stored in memory 910, communicate data to and from memory 910, and generally control the operation of computer 901 in accordance with the instructions. According to one or more embodiments of the present invention, computer 901 is an example of cloud computing node 10 of FIG.

[0072] Various embodiments of the invention are described herein with reference to the associated drawings. Alternative embodiments of the invention may be devised without departing from the scope of the invention. In the following description and drawings, various connections and positional relationships (e.g., above, below, adjacent, etc.) between elements are shown. These connections or positional relationships, or both, may be direct or indirect unless otherwise specified, and are not intended to limit the invention in this respect. Thus, coupling of entities may refer to either direct coupling or indirect coupling, and positional relationships between entities may be direct or indirect. Furthermore, various tasks and process steps described herein may be incorporated into a more comprehensive procedure or process having additional steps or functions not described herein.

[0073] One or more of the methods described herein may be implemented in any one or combination of the following techniques well known to those skilled in the art: discrete logic circuits having logic gates for implementing logic functions in data signals, application specific integrated circuits (ASICs) having appropriate combinatorial logic gates, programmable gate arrays (PGAs), field programmable gate arrays (FPGAs), etc.

[0074] For the sake of completeness, prior art techniques relating to making and using aspects of the invention may or may not be described in detail herein. In particular, various aspects of computing systems and specific computer programs for implementing various technical features described herein are well known. Thus, for the sake of brevity, many conventional implementation details are mentioned briefly herein or omitted entirely without providing details of well-known systems or processes or both.

[0075] In some embodiments, various functions or operations may be performed at a given location or in conjunction with the operation of one or more devices or systems, or both. In some embodiments, a portion of a given function or operation may be performed at a first device or location, and remaining functions or operations may be performed at one or more additional devices or locations.

[0076] The purpose of the terms used herein is only to describe particular embodiments, and they are not intended to be limiting. Unless otherwise clear from the context, when used herein, the singular forms "a", "an" and "the" are intended to include the plural. It is also understood that when used herein, the terms "comprises" and / or "comprising" specify the presence of stated features, integers, steps, operations, elements or components, or combinations thereof, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components, or groups thereof, or combinations thereof.

[0077] Corresponding structures, materials, acts, and equivalents of all means or steps and functional elements recited in the claims are intended to include any structures, materials, or acts for performing functions in conjunction with other claim elements recited in the claims. While the present disclosure has been presented for purposes of illustration and description, it is not intended that the description be exhaustive or limited to the disclosed form. Numerous modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the disclosure. The embodiments have been selected and described in order to best explain the principles and practical application of the disclosure, and to enable those skilled in the art to understand the disclosure of various embodiments with various modifications suitable for the particular use contemplated.

[0078] The figures shown herein are for illustrative purposes. There may be many variations in the figures or the steps (or operations) described therein without departing from the spirit of the disclosure. For example, operations may be performed in a different order, or operations may be added, deleted, or modified. Also, the term "coupled" indicates having a signal path between two elements, and does not imply a direct connection between the elements without an intervening element / connection between the elements. All of these variations are considered part of the disclosure.

[0079] The following definitions and abbreviations are used for interpretation of the claims and the specification. As used herein, the terms "comprises," "comprising," "includes," "including," "has," "having," "contains," "containing," or any other variation thereof, are intended to cover a non-exclusive inclusion. For example, a composition, mixture, process, method, article, or device that includes a list of elements is not necessarily limited to only those elements but can include other elements not expressly listed or that are inherent to such composition, mixture, process, method, article, or device.

[0080] Additionally, the term "exemplary" is used herein to mean "serving as an example, example, or illustration." Any embodiment or design described herein as "exemplary" is not necessarily to be construed as preferred or advantageous over other embodiments or designs. The terms "at least one" and "one or more" are understood to include any integer number greater than or equal to one, i.e., 1, 2, 3, 4, etc. The term "a plurality" is understood to include any integer number greater than or equal to two, i.e., 2, 3, 4, 5, etc. The term "connection" may include both an indirect "connection" and a direct "connection."

[0081] The terms "about," "substantially," "approximately," and variations thereof are intended to include the degree of error associated with the measurement of a particular quantity based on the equipment available at the time of filing. For example, "about" can include a range of ±8%, or 5%, or 2% of a given value.

[0082] Aspects of the invention may be a system, method, or computer program product, or combinations thereof, at any level of technical detail. The computer program product may include a computer-readable storage medium (or media) having computer-readable program instructions thereon that cause a processor to execute aspects of the invention.

[0083] The computer readable storage medium may be any tangible device capable of holding and storing instructions for use by an instruction execution device. The computer readable storage medium may be, for example, but not limited to, an electronic storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination thereof. A non-exhaustive list of more specific examples of computer readable storage media includes portable computer diskettes, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), static random access memory (SRAM), portable compact disk read-only memory (CD-ROM), digital versatile disk (DVD), memory stick, floppy disk, mechanically encoded devices such as punch cards or raised structures in grooves having instructions recorded thereon, and any suitable combination thereof. As used herein, a computer-readable storage medium should not be construed as being, itself, a ephemeral signal, such as an electric wave or other freely propagating electromagnetic wave, or an electromagnetic wave propagating in a waveguide or other transmission body (e.g., light pulses traveling in a fiber optic cable), or an electrical signal transmitted through an electrical wire.

[0084] The computer readable program instructions described herein may be downloaded from a computer readable storage medium into each corresponding computing / processing device, or may be downloaded to an external computer or storage device over a network, such as the Internet, a local area network, a wide area network, or a wireless network, or a combination thereof. The network may include copper transmission cables, optical transmission fiber, wireless transmission, routers, firewalls, switches, gateway computers, or edge servers, or a combination thereof. A network adapter card or network interface in each computing / processing device receives the computer readable program instructions from the network and transfers the computer readable program instructions to a computer readable storage medium in each corresponding computing / processing device for storage.

[0085] The computer readable program instructions for carrying out the operations of the present invention may be assembler instructions, instruction set architecture (ISA) instructions, machine instructions, machine dependent instructions, microcode, firmware instructions, state setting data, or configuration data for an integrated circuit, or may be source or object code written in any combination of one or more programming languages, including object oriented programming languages ​​such as Smalltalk, C++, and procedural programming languages ​​such as the "C" programming language or the like. The computer readable program instructions may be executed entirely on the user's computer, partially on the user's computer, as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the last scenario above, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or wide area network (WAN), or the connection may be made to an external computer (e.g., via the Internet using an Internet Service Provider). In some embodiments, electronic circuitry including, for example, a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), may execute the computer readable program instructions to carry out aspects of the invention by utilizing state information of the computer readable program instructions to personalize the electronic circuitry.

[0086] Aspects of the invention described herein have been described with reference to flowchart instructions and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that any combination of flowchart illustrations and / or block diagrams and blocks in flowchart illustrations and / or block diagrams can be implemented by computer readable program instructions.

[0087] The computer readable program instructions can be provided to a processor of the computer or other programmable data processing device to generate a machine, which when executed by the processor of the computer or other programmable data processing device generates means for implementing the functions / operations specified in the block or blocks of the flowcharts and block diagrams, or a combination thereof. These computer readable program instructions that direct the computer, programmable data processing device, and other devices, or combinations thereof, to function in a particular manner can also be stored on a computer readable recording medium, such that the computer readable recording medium having instructions stored therein constitutes an article of manufacture containing instructions that implement the functional / operational features specified in the block or blocks of the flowcharts and block diagrams, or a combination thereof.

[0088] The computer readable program instructions can also be loaded onto a computer, other programmable data processing apparatus, or other device and cause a computer-implemented process to execute a series of operational steps on the computer, other programmable apparatus, or other device to implement the functions / acts specified in a block or blocks of the flowcharts and block diagrams, or a combination thereof, on the computer, other programmable apparatus, or other device.

[0089] The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present invention. In this regard, each block of the flowchart or block diagram represents a module, segment, or portion of an instruction, which includes one or more executable instructions for implementing a particular logical function(s). In some alternative implementations, the functions described in the blocks may occur out of the order described in the figures. For example, two blocks shown in succession may be executed substantially simultaneously, depending on the functionality involved, or the blocks may be executed in reverse order at times. It should also be noted that each of the block diagrams and / or flowchart illustrations and combinations thereof may be implemented by a system based on special purpose hardware that performs a particular function or operation or executes specific purpose hardware and computer instructions.

[0090] The description of various embodiments of the present invention has been presented for illustrative purposes, but is not intended to be exhaustive or limited to the disclosed embodiments. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described embodiments. The terms used in this specification have been selected to best explain the principles of the embodiments, practical applications or technical improvements found in the market, or to enable others skilled in the art to understand the embodiments shown in this specification.

Claims

1. receiving, by a processor, an unencrypted object comprising plaintext and metadata describing said plaintext; obtaining, by a processor, in response to a request from a user, a data encryption key (DEK) and a nonce key for the unencrypted object, the nonce key being unique to the user; encrypting, by a processor, the unencrypted object, generating a nonce based at least in part on the plaintext and the nonce key; and generating a ciphertext and a metadata authentication tag including a signature of the metadata, the generating being based at least in part on the plaintext, the metadata, the DEK, and the nonce; and creating, by a processor, an encrypted object comprising the ciphertext, the metadata, and the metadata authentication tag; A method for encrypting objects in a way that identifies the creator of the encrypted object, including

2. 2. The method of claim 1, wherein the nonce is generated once and, in response to the encrypted object being generated, the nonce is linked to the encrypted object via a pointer to the nonce in the encrypted object or via inclusion of the nonce in the encrypted object.

3. 2. The method of claim 1, wherein the generating the nonce comprises running a nonce encryption algorithm that takes the plaintext and the nonce key as input and outputs the nonce.

4. 4. The method of claim 3, wherein the nonce encryption algorithm is an Advanced Encryption Standard with Cipher-based Message Authentication Code (AES-CMAC) encryption algorithm.

5. 2. The method of claim 1, wherein a plurality of nonce keys correspond to a DEK, and the nonce key is included in the plurality of nonce keys.

6. 2. The method of claim 1, wherein the encrypting the unencrypted object is performed using an Advanced Encryption Standard in Galois / Counter Mode (AES-GCM) encryption algorithm.

7. receiving, by a processor, a second encrypted object, the second encrypted object previously generated by encrypting the second object based at least in part on the DEK and a second nonce; obtaining a plurality of nonce keys corresponding to the DEK, each nonce key corresponding to a particular user; obtaining a copy of a second unencrypted object corresponding to the second encrypted object; creating a plurality of nonces, each of the nonces being created using one of the plurality of nonce keys; identifying one of the plurality of nonces that matches the second nonce; and identifying the particular user associated with a nonce key used to generate one of the plurality of nonces as the creator of the second encrypted object; The method of claim 1 further comprising:

8. 8. The method of claim 7, wherein obtaining a copy of the second unencrypted object includes decrypting the second encrypted object using the DEK and the second nonce.

9. one or more processors for executing computer readable instructions, the computer readable instructions controlling the one or more processors to: receiving an unencrypted object comprising plaintext and metadata describing said plaintext; obtaining, in response to a request from a user, a data encryption key (DEK) and a nonce key for the unencrypted object, the nonce key being unique to the user; encrypting the unencrypted object, generating a nonce based at least in part on the plaintext and the nonce key; and generating a ciphertext and a metadata authentication tag including a signature of the metadata, the ciphertext being at least partially based on the plaintext, the metadata, the DEK, and the nonce; said generating being based at least in part on said encrypting; creating an encrypted object comprising the ciphertext, the metadata, and the metadata authentication tag; A system that performs operations including:

10. 10. The system of claim 9, wherein the nonce is generated once and, in response to the encrypted object being generated, the nonce is linked to the encrypted object via a pointer to the nonce in the encrypted object or via inclusion of the nonce in the encrypted object.

11. 10. The system of claim 9, wherein the generating the nonce comprises executing a nonce encryption algorithm that receives the plaintext and the nonce key as input and outputs the nonce.

12. 12. The system of claim 11, wherein the nonce encryption algorithm is an Advanced Encryption Standard with Cipher-based Message Authentication Code (AES-CMAC) encryption algorithm.

13. 10. The system of claim 9, wherein a plurality of nonce keys correspond to a DEK, and the nonce key is included in the plurality of nonce keys.

14. 10. The system of claim 9, wherein the encrypting the unencrypted object is performed using an Advanced Encryption Standard in Galois / Counter Mode (AES-GCM) encryption algorithm.

15. receiving a second encrypted object, the second encrypted object having been previously generated by encrypting the second object based at least in part on the DEK and a second nonce; obtaining a plurality of nonce keys corresponding to the DEK, each nonce key corresponding to a particular user; obtaining a copy of a second unencrypted object corresponding to the second encrypted object; creating a plurality of nonces, each of the nonces being created using one of the plurality of nonce keys; identifying one of the plurality of nonces that matches the second nonce; and identifying the particular user associated with a nonce key used to generate one of the plurality of nonces as the creator of the second encrypted object; The system of claim 9 further comprising:

16. 16. The system of claim 15, wherein obtaining a copy of the second unencrypted object includes decrypting the second encrypted object using the DEK and the second nonce.

17. A computer program executed by a computer, the computer comprising: receiving an unencrypted object comprising plaintext and metadata describing said plaintext; obtaining, in response to a request from a user, a data encryption key (DEK) and a nonce key for the unencrypted object, the nonce key being unique to the user; encrypting the unencrypted object, generating a nonce based at least in part on the plaintext and the nonce key; and generating a ciphertext and a metadata authentication tag including a signature of the metadata, the generating being based at least in part on the plaintext, the metadata, the DEK, and the nonce; and creating an encrypted object comprising the ciphertext, the metadata, and the metadata authentication tag; A computer program that executes the following:

18. 20. The computer program product of claim 17, wherein the nonce is generated once and, in response to the encrypted object being generated, the nonce is linked to the encrypted object via a pointer to the nonce in the encrypted object or via inclusion of the nonce in the encrypted object.

19. 20. The computer program product of claim 17, wherein the generating the nonce comprises executing a nonce encryption algorithm that receives the plaintext and the nonce key as input and outputs the nonce.

20. 20. The computer program product of claim 19, wherein the nonce encryption algorithm is an Advanced Encryption Standard with Cipher-based Message Authentication Code (AES-CMAC) encryption algorithm.

Citation Information

Patent Citations

  • Electronic information distribution method and recording medium

    JP1999039262A

  • ENCRYPTION CCNx

    JP2017076964A

  • Information processing device, information processing system, terminal, determination device, processing program and information processing method

    JP2018006852A

  • Use of non-interactive identity based key agreement derived secret keys with authenticated encryption

    US20130042112A1

  • Automotive nonce-misuse-resistant authenticated encryption

    US20190356468A1