# US 2017/0293913 A1 · System and methods for validating and performing operations on homomorphically encrypted data

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

- Number: US 2017/0293913 A1
- Document ID: US20170293913A1
- Status: Published application
- Kind: A1
- Application number: 15/468,621
- Filed: 2017-03-24
- Published: 2017-10-12
- Earliest claimed: 2016-04-12
- Assignees: The Governing Council of the University of Toronto
- Applicants: The Governing Council of the University of Toronto
- Inventors: Glenn GULAK; Alhassan KHEDR
- Web page: https://patentgrep.com/patent/US20170293913A1

## CPC

- G06Q 20/3829: {involving key management}
- A61B 5/72: {Signal processing specially adapted for physiological signals or for diagnostic purposes}
- G06N 20/00: Machine learning
- G06Q 20/382: {insuring higher security of transaction}
- G06Q 20/38215: {Use of certificates or encrypted proofs of transaction rights}
- G16H 10/40: for data related to laboratory analysis, e.g. patient specimen analysis
- G16H 10/60: for patient-specific data, e.g. for electronic patient records
- H04L 9/008: {involving homomorphic encryption}
- H04L 9/3093: {involving Lattices or polynomial equations, e.g. NTRU scheme}
- H04L 63/0414: {during transmission, i.e. party's identity is protected against eavesdropping, e.g. by using temporary identifiers, but is known to the other party or parties involved in the communication}
- H04L 63/0428: {wherein the data content is protected, e.g. by encrypting or encapsulating the payload}
- G06Q 20/08: Payment architectures
- G06Q 2220/00: Business processing using cryptography
- 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
- A61B: DIAGNOSIS; SURGERY; IDENTIFICATION (usefulness limited to only animals A61D)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G16H: HEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A system and method of validating and performing operations on homomorphically encrypted data are described herein. The methods include processing a secure financial transaction by receiving a transaction request to complete a financial transaction, with at least a portion of the request encrypted according to a homomorphic encryption scheme, and the transaction request comprising confidential cardholder data including an account number, non-confidential cardholder data, and transaction data, and retrieving one or more sets of encrypted comparison cardholder data encrypted according to a homomorphic encryption scheme. The confidential cardholder data is then compared to each set of the comparison cardholder data using one or more homomorphic operations to determine which set of comparison cardholder data matches the confidential cardholder data and validating the confidential cardholder data. An encrypted indicator is generated indicating authorization or rejection of the request and forwarded to a party seeking authorization to complete the financial transaction.

## Claims

### Claim 1

A method of processing a secure financial transaction, comprising:
receiving a transaction request to complete a financial transaction, with at least a portion of the request encrypted according to a homomorphic encryption scheme, and the transaction request comprising confidential cardholder data including an account number, non-confidential cardholder data, and transaction data;
retrieving one or more sets of encrypted comparison cardholder data from a cardholder data database, each set of encrypted comparison cardholder data encrypted according to a homomorphic encryption scheme;
comparing the encrypted confidential cardholder data to each set of the encrypted comparison cardholder data using one or more homomorphic operations to determine which set of comparison cardholder data matches the confidential cardholder data and validating the confidential cardholder data;
generating an encrypted indicator indicating authorization or rejection of the request to complete the financial transaction based upon at least the validation of the confidential cardholder data; and
forwarding the encrypted indicator authorization or rejection of the request to complete the financial transaction to a party seeking authorization to complete the financial transaction,
wherein the confidential cardholder data is never decrypted during the method.

### Claim 2 (depends on 1)

The method of claim 1, wherein the homomorphic encryption scheme is a fully homomorphic encryption scheme or a somewhat homomorphic encryption scheme.

### Claim 3 (depends on 1)

The method of claim 1, wherein the confidential cardholder data includes one or more of: a portion of the account number, the account number, an expiry date and a Card Verification Value (CVV) number.

### Claim 4 (depends on 1)

The method of claim 1, wherein the non-confidential cardholder data includes one or more of: a bank name, a cardholder name, a Bank Identification Number (BIN) and the last four digits of the account number.

### Claim 5 (depends on 1)

The method of claim 1, wherein the transaction data includes one or more of: a transaction amount, a transaction date and a merchant identifier.

### Claim 6 (depends on 1)

The method of claim 1, further including executing a step of retrieving the transaction data and executing the step of comparing the transaction data using one or more homomorphic operations to determine whether the transaction amount can be authorized.

### Claim 7 (depends on 1)

The method of claim 1, wherein a portion of the request is compared to the set of comparison data to reduce the size of the set of comparison data prior to comparing the encrypted confidential cardholder data.

### Claim 8 (depends on 1)

The method of claim 1, wherein the one or more homomorphic operations combine to form an XNOR operation.

### Claim 9 (depends on 1)

The method of claim 1, wherein the financial transaction is a credit card transaction or a debit card transaction or a stored-value card transaction.

### Claim 10 (depends on 1)

The method of claim 1, wherein the request to complete the financial transaction is received by one or more of: a bank, a credit card company, a card issuer or a payment processor.

### Claim 11

A non-transient computer-readable medium containing computer-readable instructions which when executed by a computer processor perform the method of:
receiving a request to complete a financial transaction with at least a portion of the request encrypted according to a homomorphic encryption scheme, and the transaction request comprising confidential cardholder data including an account number, non-confidential cardholder data and transaction data;
retrieving one or more sets of encrypted comparison cardholder data from a cardholder data database, each set of encrypted comparison cardholder data encrypted according to a homomorphic encryption scheme;
comparing the confidential cardholder data to each set of the comparison cardholder data using one or more homomorphic operations to determine which set of comparison cardholder data matches the confidential cardholder data and validating the confidential cardholder data;
generating an encrypted indicator indicating authorization or rejection of the request to complete the financial transaction based upon at least the validation of the confidential cardholder data; and
forwarding the encrypted indicator indicating authorization or rejection of the request to complete the financial transaction to a party seeking authorization to complete the financial transaction,
wherein the confidential cardholder data is never decrypted during the method.

### Claim 12 (depends on 1)

The method of claim 1, wherein the homomorphic encryption scheme is a fully homomorphic encryption scheme or a somewhat homomorphic encryption scheme.

### Claim 13 (depends on 11)

The computer-readable medium of claim 11, wherein the confidential cardholder data includes one or more of: a portion of the account number, an account number, an expiry date and a Card Verification Value (CVV) number.

### Claim 14 (depends on 11)

The computer-readable medium of claim 11, wherein the non-confidential cardholder data includes one or more of: a bank name, a cardholder name, a Bank Identification Number (BIN) and the last four digits of the account number.

### Claim 15 (depends on 11)

The computer-readable medium of claim 11, wherein the transaction data includes one or more of: a transaction amount, a transaction date and a merchant identifier.

### Claim 16 (depends on 11)

The computer-readable medium of claim 11, further including executing a step of retrieving the transaction data and executing the step of comparing the transaction data using one or more homomorphic operations to determine whether the transaction amount can be authorized.

### Claim 17 (depends on 11)

The computer-readable medium of claim 11, wherein a portion of the request is compared to the set of comparison data to reduce the size of the set of comparison data prior to comparing the encrypted confidential cardholder data.

### Claim 18 (depends on 11)

The computer-readable medium of claim 11, wherein the one or more homomorphic operations combine to form an XNOR operation.

### Claim 19 (depends on 11)

The computer-readable medium of claim 11, wherein the financial transaction is a credit card transaction or a debit card transaction or a stored-value card transaction.

### Claim 20 (depends on 11)

The computer-readable medium of claim 11, wherein the request to complete the financial transaction is received by one or more of: a bank, a credit card company, a card issuer or a payment processor.
