# US 2022/0294610 A1 · Methods, systems and computer program products for secure encryption of data for transmission via an untrusted intermediary

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

- Number: US 2022/0294610 A1
- Document ID: US20220294610A1
- Status: Published application
- Kind: A1
- Application number: 17/691,796
- Filed: 2022-03-10
- Published: 2022-09-15
- Earliest claimed: 2021-03-10
- Assignees: Epifi Technologies Private Limited
- Applicants: Epifi Technologies Private Limited
- Inventors: Pruthvi SABBU
- Web page: https://patentgrep.com/patent/US20220294610A1

## CPC

- H04L 9/0825: {using asymmetric-key encryption or public key infrastructure [PKI], e.g. key signature or public key certificates}
- G06Q 20/3223: {Realising banking transactions through M-devices}
- G06Q 20/38215: {Use of certificates or encrypted proofs of transaction rights}
- H04L 9/085: {Secret sharing or secret splitting, e.g. threshold schemes}
- H04L 9/0861: {Generation of secret information including derivation or calculation of cryptographic keys or passwords}
- H04L 9/3236: {using cryptographic hash functions}
- H04L 9/3247: {involving digital signatures}
- H04L 63/0428: {wherein the data content is protected, e.g. by encrypting or encapsulating the payload}
- H04L 9/14: using a plurality of keys or algorithms
- H04L 9/40: Network security protocols
- H04L 63/0435: {wherein the sending and receiving network entities apply symmetric encryption, i.e. same key used for encryption and decryption (cryptographic mechanisms or cryptographic arrangements for symmetric key encryption H04L9/06)}
- H04L 63/0442: {wherein the sending and receiving network entities apply asymmetric encryption, i.e. different keys for encryption and decryption (cryptographic mechanisms or cryptographic arrangements for public-key encryption H04L9/30)}
- H04L 2463/062: applying encryption of the keys
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06Q: INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR

## Abstract

The invention is directed toward systems, methods and computer program products that enable end to end user authentication along with encryption to mitigate the risks posed by untrusted or unsecure intermediary entities. The invention (i) enables full end to end encryption of sensitive data that has been input by a user on a terminal device at one end, and the intended or authorized recipient at the other end, (ii) ensures that data entered by the user on the terminal device is not readable by any intermediary entity including a partner application or other software application implemented within the terminal device, and (iii) eliminates the risk of successful local attacks on the terminal device to unauthorizedly access user data, or to unauthorizedly obtain access to encryption/decryption keys that can be used to unauthorizedly access encrypted user data.

## Claims

### Claim 1

A method for implementing encrypted network data transmission, comprising performing at a processor implemented secure entity within a terminal device, the steps of:
receiving a request for initiating transmission of data to an authorized recipient;
encrypting at least a cryptographic first handshake key with a cryptographic first public key associated with the authorized recipient;
transmitting the encrypted cryptographic first handshake key to the authorized recipient through an untrusted intermediary;
receiving an encrypted cryptographic secure entity key generated and transmitted by the authorized recipient, wherein generation of the encrypted cryptographic secure entity key comprises performing at the authorized recipient, the steps of:
receiving the encrypted cryptographic first handshake key;
decrypting the encrypted cryptographic first handshake key with a cryptographic first private key associated with the authorized recipient, wherein the cryptographic first public key and the cryptographic first private key comprise a cryptographic first asymmetric key pair; and
encrypting a cryptographic secure entity key with the cryptographic first handshake key to generate the encrypted cryptographic secure entity key;
decrypting the encrypted cryptographic secure entity key with the cryptographic first handshake key;
generating a cryptographic transaction key, wherein the cryptographic transaction key is generated based on:
a shared secret key generation process; and
a cryptographic second private key associated with the secure entity;
encrypting session data with the generated cryptographic transaction key; and
transmitting the encrypted session data and a cryptographic second public key associated with the secure entity to the authorized recipient through the untrusted intermediary, wherein the cryptographic second private key and the cryptographic second public key comprise a cryptographic second asymmetric key pair.

### Claim 2 (depends on 1)

The method as claimed in claim 1, wherein the authorized recipient is configured for:
receiving the encrypted session data and the cryptographic second public key;
generating the cryptographic transaction key, wherein generating the cryptographic transaction key is based on:
the shared secret key generation process; and
the cryptographic second public key;
and decrypting the received encrypted session data with the cryptographic transaction key.

### Claim 3 (depends on 2)

The method as claimed in claim 2, wherein the secure entity:
receives encrypted session data that:
has been encrypted by the authorized recipient with the cryptographic transaction key; and
has been transmitted to the secure entity through an untrusted intermediary;
and decrypts the encrypted session data received from the authorized recipient with the cryptographic transaction key.

### Claim 4 (depends on 1)

The method as claimed in claim 1, comprising:
encrypting at least a cryptographic second handshake key with the cryptographic first public key;
transmitting the encrypted cryptographic second handshake key to the authorized recipient through the untrusted intermediary, wherein the authorized recipient is configured for:
receiving the encrypted cryptographic second handshake key;
decrypting the encrypted cryptographic second handshake key with the cryptographic first private key; and
transmitting the cryptographic second handshake key to the untrusted intermediary for storage therein and for signing, encryption or decryption of data messages transmitted between the secure entity and the untrusted intermediary.

### Claim 5

A method for encrypting network data transmission, comprising performing at a processor implemented authorized recipient of data, the steps of:
receiving from a secure entity within a terminal device, an encrypted cryptographic first handshake key, wherein:
the encrypted cryptographic first handshake key has been generated at the secure entity by encrypting a cryptographic first handshake key with a cryptographic first public key associated with the authorized recipient; and
the encrypted cryptographic first handshake key has been transmitted to the authorized recipient from the secure entity through an untrusted intermediary;
decrypting the encrypted cryptographic first handshake key with a cryptographic first private key associated with the authorized recipient, wherein the cryptographic first public key and the cryptographic first private key comprise a cryptographic first asymmetric key pair;
encrypting a cryptographic secure entity key with the cryptographic first handshake key to generate an encrypted cryptographic secure entity key;
transmitting the encrypted cryptographic secure entity key to the secure entity;
receiving from the secure entity, encrypted session data and a cryptographic second public key associated with the secure entity through the untrusted intermediary, wherein:
the secure entity has:
decrypted the encrypted cryptographic secure entity key with the cryptographic first handshake key;
generated a cryptographic transaction key, wherein the cryptographic transaction key is generated based on:
a shared secret key generation process; and
a cryptographic second private key associated with the secure entity;
and encrypted session data with the generated cryptographic transaction key;
and the cryptographic second private key and the cryptographic second public key comprise a cryptographic second asymmetric key pair.

### Claim 6 (depends on 5)

The method as claimed in claim 5, wherein the authorized recipient performs the steps of:
generating the cryptographic transaction key, wherein generating the cryptographic transaction key is based on:
the shared secret key generation process; and
the cryptographic second public key;
and decrypting the received encrypted session data with the cryptographic transaction key.

### Claim 7 (depends on 6)

The method as claimed in claim 6, wherein the secure entity:
receives encrypted session data that:
has been encrypted by the authorized recipient with the cryptographic transaction key; and
has been transmitted to the secure entity through an untrusted intermediary;
and decrypts the encrypted session data received from the authorized recipient with the cryptographic transaction key.

### Claim 8 (depends on 5)

The method as claimed in claim 5, comprising:
receiving from the secure entity, an encrypted cryptographic second handshake key that has been encrypted with the cryptographic first public key;
decrypting the encrypted cryptographic second handshake key with the cryptographic first private key; and
transmitting the cryptographic second handshake key to the untrusted intermediary for storage therein and for signing, encryption or decryption of data messages transmitted between the secure entity and the untrusted intermediary.

### Claim 9

A system for implementing encrypted network data transmission, comprising a processor implemented secure entity within a terminal device, wherein the processor implemented secure entity is configured to perform the steps of:
receiving a request for initiating transmission of data to an authorized recipient;
encrypting at least a cryptographic first handshake key with a cryptographic first public key associated with the authorized recipient;
transmitting the encrypted cryptographic first handshake key to the authorized recipient through an untrusted intermediary;
receiving an encrypted cryptographic secure entity key generated and transmitted by the authorized recipient, wherein generation of the encrypted cryptographic secure entity key comprises performing at the authorized recipient, the steps of:
receiving the encrypted cryptographic first handshake key;
decrypting the encrypted cryptographic first handshake key with a cryptographic first private key associated with the authorized recipient, wherein the cryptographic first public key and the cryptographic first private key comprise a cryptographic first asymmetric key pair; and
encrypting a cryptographic secure entity key with the cryptographic first handshake key to generate the encrypted cryptographic secure entity key;
decrypting the encrypted cryptographic secure entity key with the cryptographic first handshake key;
generating a cryptographic transaction key, wherein the cryptographic transaction key is generated based on:
a shared secret key generation process; and
a cryptographic second private key associated with the secure entity;
encrypting session data with the generated cryptographic transaction key; and
transmitting the encrypted session data and a cryptographic second public key associated with the secure entity to the authorized recipient through the untrusted intermediary, wherein the cryptographic second private key and the cryptographic second public key comprise a cryptographic second asymmetric key pair.

### Claim 10 (depends on 9)

The system as claimed in claim 9, wherein the authorized recipient is configured for:
receiving the encrypted session data and the cryptographic second public key;
generating the cryptographic transaction key, wherein generating the cryptographic transaction key is based on:
the shared secret key generation process; and
the cryptographic second public key;
and decrypting the received encrypted session data with the cryptographic transaction key.

### Claim 11 (depends on 10)

The system as claimed in claim 10, wherein the secure entity is configured for:
receiving encrypted session data that:
has been encrypted by the authorized recipient with the cryptographic transaction key; and
has been transmitted to the secure entity through an untrusted intermediary;
and decrypting the encrypted session data received from the authorized recipient with the cryptographic transaction key.

### Claim 12 (depends on 9)

The system as claimed in claim 9, wherein the processor implemented secure entity is configured for:
encrypting at least a cryptographic second handshake key with the cryptographic first public key;
transmitting the encrypted cryptographic second handshake key to the authorized recipient through the untrusted intermediary, wherein the authorized recipient is configured for:
receiving the encrypted cryptographic second handshake key;
decrypting the encrypted cryptographic second handshake key with the cryptographic first private key; and
transmitting the cryptographic second handshake key to the untrusted intermediary for storage therein and for signing, encryption or decryption of data messages transmitted between the secure entity and the untrusted intermediary.

### Claim 13

A system for implementing encrypted network data transmission, comprising a processor implemented authorized recipient of data, wherein the processor implemented authorized recipient of data is configured to perform the steps of:
receiving from a secure entity within a terminal device, an encrypted cryptographic first handshake key, wherein:
the encrypted cryptographic first handshake key has been generated at the secure entity by encrypting a cryptographic first handshake key with a cryptographic first public key associated with the authorized recipient; and
the encrypted cryptographic first handshake key has been transmitted to the authorized recipient from the secure entity through an untrusted intermediary;
decrypting the encrypted cryptographic first handshake key with a cryptographic first private key associated with the authorized recipient, wherein the cryptographic first public key and the cryptographic first private key comprise a cryptographic first asymmetric key pair;
encrypting a cryptographic secure entity key with the cryptographic first handshake key to generate an encrypted cryptographic secure entity key;
transmitting the encrypted cryptographic secure entity key to the secure entity;
receiving from the secure entity, encrypted session data and a cryptographic second public key associated with the secure entity through the untrusted intermediary, wherein:
the secure entity has:
decrypted the encrypted cryptographic secure entity key with the cryptographic first handshake key;
generated a cryptographic transaction key, wherein the cryptographic transaction key is generated based on:
a shared secret key generation process; and
a cryptographic second private key associated with the secure entity;
and encrypted session data with the generated cryptographic transaction key;
and the cryptographic second private key and the cryptographic second public key comprise a cryptographic second asymmetric key pair.

### Claim 14 (depends on 13)

The system as claimed in claim 13, wherein the authorized recipient is configured to perform the steps of:
generating the cryptographic transaction key, wherein generating the cryptographic transaction key is based on:
the shared secret key generation process; and
the cryptographic second public key;
and decrypting the received encrypted session data with the cryptographic transaction key.

### Claim 15 (depends on 14)

The system as claimed in claim 14, wherein the secure entity is configured to:
receive encrypted session data that:
has been encrypted by the authorized recipient with the cryptographic transaction key; and
has been transmitted to the secure entity through an untrusted intermediary;
and decrypt the encrypted session data received from the authorized recipient with the cryptographic transaction key.

### Claim 16 (depends on 13)

The system as claimed in claim 13, wherein the authorized recipient is configured to perform the steps of:
receiving from the secure entity, an encrypted cryptographic second handshake key that has been encrypted with the cryptographic first public key;
decrypting the encrypted cryptographic second handshake key with the cryptographic first private key; and
transmitting the cryptographic second handshake key to the untrusted intermediary for storage therein and for signing, encryption or decryption of data messages transmitted between the secure entity and the untrusted intermediary.

### Claim 17

A computer program product for implementing encrypted network data transmission, comprising a non-transitory computer readable medium having a computer readable program code embodied therein, the computer readable program code comprising instructions for performing at a processor implemented secure entity within a terminal device, the steps of:
receiving a request for initiating transmission of data to an authorized recipient;
encrypting at least a cryptographic first handshake key with a cryptographic first public key associated with the authorized recipient;
transmitting the encrypted cryptographic first handshake key to the authorized recipient through an untrusted intermediary;
receiving an encrypted cryptographic secure entity key generated and transmitted by the authorized recipient, wherein generation of the encrypted cryptographic secure entity key comprises performing at the authorized recipient, the steps of:
receiving the encrypted cryptographic first handshake key;
decrypting the encrypted cryptographic first handshake key with a cryptographic first private key associated with the authorized recipient, wherein the cryptographic first public key and the cryptographic first private key comprise a cryptographic first asymmetric key pair; and
encrypting a cryptographic secure entity key with the cryptographic first handshake key to generate the encrypted cryptographic secure entity key;
decrypting the encrypted cryptographic secure entity key with the cryptographic first handshake key;
generating a cryptographic transaction key, wherein the cryptographic transaction key is generated based on:
a shared secret key generation process; and
a cryptographic second private key associated with the secure entity;
encrypting session data with the generated cryptographic transaction key; and
transmitting the encrypted session data and a cryptographic second public key associated with the secure entity to the authorized recipient through the untrusted intermediary, wherein the cryptographic second private key and the cryptographic second public key comprise a cryptographic second asymmetric key pair.

### Claim 18

A computer program product for implementing encrypted network data transmission, comprising a non-transitory computer readable medium having a computer readable program code embodied therein, the computer readable program code comprising instructions for performing at a processor implemented authorized recipient of data, the steps of:
receiving from a secure entity within a terminal device, an encrypted cryptographic first handshake key, wherein:
the encrypted cryptographic first handshake key has been generated at the secure entity by encrypting a cryptographic first handshake key with a cryptographic first public key associated with the authorized recipient; and
the encrypted cryptographic first handshake key has been transmitted to the authorized recipient from the secure entity through an untrusted intermediary;
decrypting the encrypted cryptographic first handshake key with a cryptographic first private key associated with the authorized recipient, wherein the cryptographic first public key and the cryptographic first private key comprise a cryptographic first asymmetric key pair;
encrypting a cryptographic secure entity key with the cryptographic first handshake key to generate an encrypted cryptographic secure entity key;
transmitting the encrypted cryptographic secure entity key to the secure entity;
receiving from the secure entity, encrypted session data and a cryptographic second public key associated with the secure entity through the untrusted intermediary, wherein:
the secure entity has:
decrypted the encrypted cryptographic secure entity key with the cryptographic first handshake key;
generated a cryptographic transaction key, wherein the cryptographic transaction key is generated based on:
a shared secret key generation process; and
a cryptographic second private key associated with the secure entity;
and encrypted session data with the generated cryptographic transaction key;
and the cryptographic second private key and the cryptographic second public key comprise a cryptographic second asymmetric key pair.
