# US 2025/0028805 A1 · Optimized private biometric matching

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

- Number: US 2025/0028805 A1
- Document ID: US20250028805A1
- Status: Published application
- Kind: A1
- Application number: 18/906,586
- Filed: 2024-10-04
- Published: 2025-01-23
- Earliest claimed: 2019-10-25
- Assignees: Visa International Service Association
- Applicants: Visa International Service Association
- Inventors: Peter Rindal
- Web page: https://patentgrep.com/patent/US20250028805A1

## CPC

- G06F 21/32: using biometric data, e.g. fingerprints, iris scans or voiceprints
- H04L 9/008: {involving homomorphic encryption}
- H04L 9/0825: {using asymmetric-key encryption or public key infrastructure [PKI], e.g. key signature or public key certificates}
- H04L 9/3231: {Biological data, e.g. fingerprint, voice or retina (network architectures or network communication protocols for supporting authentication of entities using biometrical features in a packet data network H04L63/0861)}
- H04L 2209/56: Financial cryptography, e.g. electronic payment or e-cash
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A homomorphic encryption scheme, such as Paillier encryption in combination with a bit packing process allows biometric matching at a terminal without exposing a biometric template stored at a user's device. Because such encryption schemes are data intensive, the bit packing process allows reductions in data being sent and processed so that the biometric matching process can be accomplished in near real time. The high speed of this optimized process allows the technique to be applied to many real world processes such as access control and transaction processing.

## Claims

### Claim 1

A computer implemented method comprising:
obtaining, by a terminal device, a sample biometric measurement of a first user;
generating a sample biometric template based on the sample biometric measurement;
receiving, from devices associated with a plurality of users, encrypted biometric templates and public keys, wherein each of the encrypted biometric templates and the public keys are associated with a different one of the plurality of users, and wherein the public keys are associated with corresponding private keys;
determining encrypted similarity metrics based on comparing each of the encrypted biometric templates to the sample biometric template, wherein the encrypted similarity metrics are encrypted based on the public keys;
sending the encrypted similarity metrics to the devices for decryption using the corresponding private keys;
receiving decrypted similarity metrics from the devices;
determining that a first device of the devices is associated with the first user based on comparing the decrypted similarity metrics to a threshold value; and
providing access to a resource based on the determining that the first device is associated with the first user.

### Claim 2 (depends on 1)

The method of claim 1, wherein the sample biometric measurement is a picture of the first user.

### Claim 3 (depends on 1)

The method of claim 1, wherein the sample biometric template includes a sample vector of biometric values.

### Claim 4 (depends on 1)

The method of claim 1, wherein the generating the sample biometric template includes sending the sample biometric measurement of the first user to a neural network to compute a sample vector of biometric values.

### Claim 5 (depends on 1)

The method of claim 1, wherein each of the encrypted biometric templates are stored on a corresponding one of the devices.

### Claim 6 (depends on 1)

The method of claim 1, wherein the encrypted biometric templates are encrypted using homomorphic encryption, and wherein the determining the encrypted similarity metrics comprises determining an inner product of each of the encrypted biometric templates and the sample biometric template.

### Claim 7 (depends on 6)

The method of claim 6, wherein the determining the encrypted similarity metrics further comprises adding a masking value to the inner product of each of the encrypted biometric templates and the sample biometric template.

### Claim 8 (depends on 7)

The method of claim 7, wherein the homomorphic encryption is multiplicatively homomorphic encryption.

### Claim 9 (depends on 7)

The method of claim 7, wherein the homomorphic encryption is fully homomorphic encryption.

### Claim 10 (depends on 1)

The method of claim 1, wherein the encrypted biometric templates are received by terminal device over a communications network, and wherein the communications network is a Wi-Fi network or a Bluetooth enabled network.

### Claim 11

A computer implemented method comprising:
obtaining a sample biometric measurement of a first user;
generating a sample biometric template based on the sample biometric measurement;
receiving, from each device of a plurality of devices associated with a plurality of users:
an encrypted biometric template for a respective user of the plurality of users, and
a public key of a public/private key pair associated with a respective user of the plurality of users, wherein the plurality of users comprises the first user, and wherein the encrypted biometric template for each respective user is encrypted based on the public key associated with the respective user;
determining an encrypted similarity metric for each respective user of the plurality of users based on comparing the encrypted biometric template for the respective user to the sample biometric template;
sending, to each device of the plurality of devices, the encrypted similarity metric for the respective user associated with the device;
receiving, from each device of the plurality of devices, a decrypted similarity metric for the respective user associated with the device;
determining a comparison metric for each respective user of the plurality of users based on the decrypted similarity metric for the respective user;
comparing the comparison metric for each respective user of the plurality of users to a threshold value;
determining that a first device of the devices is associated with the first user based on the comparison metric for the first user satisfying a threshold value; and
providing access to a resource based on the determining that the first device is associated with the first user.

### Claim 12 (depends on 11)

The method of claim 11, wherein the sample biometric measurement is a picture of the first user.

### Claim 13 (depends on 11)

The method of claim 11, wherein the sample biometric template includes a sample vector of biometric values.

### Claim 14 (depends on 11)

The method of claim 11, wherein generating the sample biometric template includes sending the sample biometric measurement of the first user to a neural network to compute a sample vector of biometric values.

### Claim 15 (depends on 11)

The method of claim 11, wherein the encrypted biometric template associated with each of the plurality of users is stored on each respective device of the of devices.

### Claim 16 (depends on 11)

The method of claim 11, wherein the encrypted biometric template for each respective user of the plurality of users is encrypted based on the public key associated with the respective user, and wherein the determining the encrypted similarity metric for each respective user of the plurality of users comprises determining an inner product of the encrypted biometric templates for each respective user and the sample biometric template.

### Claim 17 (depends on 16)

The method of claim 16, wherein the determining the encrypted similarity metric for each respective user of the plurality of users further comprises adding a masking value to the inner product of the encrypted biometric templates for each respective user and the sample biometric template.

### Claim 18 (depends on 11)

The method of claim 11, wherein the encrypted biometric template associated with each of the plurality of users is received over a communications network.

### Claim 19

A computer implemented method comprising:
receiving, from each device of a plurality of devices associated with a plurality of users:
an encrypted biometric template for each respective user of the plurality of users, each encrypted biometric template including an encrypted vector of biometric values, and
a public key of a public/private key pair associated with each respective user of the plurality of users;
determining a similarity metric for each of the of users based on the respective encrypted biometric template and a sample biometric template generated for a first user;
determining an encrypted similarly metric for each of the users from the respective similarity metric by applying a homomorphic encryption algorithm and the corresponding public key;
sending to each device of the plurality of devices the respective encrypted similarity metric;
receiving a decrypted similarity metric from each device of the plurality of the devices;
determining that a first device of the devices is associated with the first user based on comparing the decrypted similarity metric provided by the first device to a threshold value; and
providing the first device access to a resource.

### Claim 20 (depends on 19)

The method of claim 19, wherein the sample biometric template corresponds to a sample biometric measurement for the first user captured by a terminal.
