# A Simple Scheme for Constructing Fault-Tolerant Passwords from Biometric Data

- VladimirB Balakirsky
^{1}and - AJHan Vinck
^{1}Email author

**2010**:819376

**DOI: **10.1155/2010/819376

© V. B. Balakirsky and A. J. H. Vinck. 2010

**Received: **6 April 2010

**Accepted: **18 October 2010

**Published: **19 October 2010

## Abstract

We present a simple combinatorial construction for the mapping of the biometric vectors to short strings, called the passwords. A verifier has to decide whether a given vector can be considered as a corrupted version of the original biometric vector whose password is known or not. The evaluations of the compression factor, the false rejection/acceptance rates, are derived, and an illustration of a possible implementation of the verification algorithm for the DNA data is presented.

## 1. Introduction

- (1)
The length of the binary representation of the password is much less than the length of the vector , that is, .

- (2)
The probability distribution over the vectors is not given, and the performance is analyzed for the worst assignment of the input data.

- (3)
The function is a deterministic function. Therefore, the distribution of common randomness between the encoder and the verifier, which is a feature of randomized hashing schemes, is not relevant in our case. The probabilities of the incorrect verifier's decisions are computed over the noise ensemble.

- (4)
If the vector is a corrupted version of the vector , then the level of noise is measured by the absolute value of the difference of the Hamming weights of the vectors and .

Notice that many authors addressed the problem of constructing fault-tolerant passwords, and the list [5–9] is far from being complete. The main difference of the setup analyzed in our correspondence is the point that the scheme does not require randomization. As a result, our approach can essentially simplify an implementation and simultaneously cause some security problems, which are discussed below.

As is a deterministic function and the compression factor is large; an attacker, who knows and wants to pass through the verification stage with the acceptance decision, can easily succeed by generating a vector such that . Therefore, the scheme is not secure in the same sense as the system, which uses the PIN codes of the users: if the PIN code is stolen and the attacker can enter it into the system, then he succeeds. Thus, one needs to encrypt passwords, and our construction can serve as a preliminary step for conventional schemes. Another kind of security is the possibility of guessing the biometric vector on the basis of its password. If the password is the weight of the vector (which is a special case of our construction), then the probability of the correct guess is very small for most of the vectors. However, the weights 0 and uniquely determine the vector. Thus, meaning the points above, the secrecy of the scheme can be not sufficient for its separate use in practical biometric systems. However, a very large compression factor, very small probabilities of the incorrect verifier's decisions, and very small complexity of the implementation of our scheme that can be attained simultaneously make such a scheme attractive. In particular, we can recommend it for information transmission systems where the verifier has to make only the rejection decision for the vectors that definitely cannot be considered as corrupted versions of the original biometrical vector. The final decision for the vectors that passed through this test is made by some other tools in this case.

## 2. Model for the Noise of Observations

- (1)
Binary symmetric channel.

- (2)
The insertion/deletion channel.

be the probability that components of the vector are noiselessly transmitted, while the remaining positions are filled with an arbitrary vector generated with the probability . Then, is expressed by (8) with substituted for .

In the following numerical illustrations, we assume that the conditional probabilities , are defined by (8).

Discussion over the Model

As the input vector is fixed, the vector is also fixed. Given an acceptance set, the probability that the verifier makes an incorrect rejection decision can be computed after the conditional probabilities are specified. However, one cannot compute the probability that the verifier makes an incorrect acceptance decision for the best strategy of an attacker, unless the probability distribution over the input vectors (which determines the probability distribution over passwords) is given. We can only compute this probability for a blind attacker, who generates the vector by flipping a fair coin, which results in the binomial probability distribution over passwords . Then, computations become equivalent to the estimation of the ratios of the cardinalities of the sets of input vectors with coinciding passwords and . Notice that this estimation is a typical problem when universal hashing schemes are studied [10]. Since our scheme is oriented to the preprocessing of the pairs of received vectors, the performance of the scheme for a blind attacker is also of interest for practical biometric applications.

## 3. Description of the Verification Scheme

The false rejection event corresponds to the case when the blocks of the input biometric vector are transmitted over a channel in such a way that weights of these blocks are transformed to the weights of the received blocks by a memoryless channel specified by the conditional probabilities . The false acceptance event corresponds to the case when the blocks of the received vector are generated by a Bernoulli source having the probabilities of zeroes and ones equal to .

The goals of the designer of the system can be different. In particular, the acceptance set can be assigned according to the maximum likelihood decision rule. Another assignment is oriented to the minimization of the absolute value of the difference of and . Furthermore, this set can be assigned in such a way that the false rejection/acceptance rate is fixed and the false acceptance/rejection rate is minimized. We will present the assignments of the decision sets that provide us with small decoding error probabilities of both types, which makes efficient solutions to the above problems possible.

Our main claim can be summarized as follows.

Theorem 1.

and tend to constants depending only on , as increases.

The (a) part of the claim directly follows from the description of the scheme. The (b) part of the claim follows from the analysis presented in Section 5. Notice that the fact that the probabilities of error exponentially vanish with when the expected values of the corresponding random variables differ is a classical result of detection and estimation theory [11]. We will meet the situation of coinciding expected values, and such a behavior is attained due to the difference of the variances of these variables.

Let us first discuss possible approaches to constructing verification schemes for the noiseless case when the biometric vectors are mapped to passwords by a deterministic function. In this case, the verifier constructs the password for the vector and makes the acceptance decision if and only if it coincides with the password associated with the claimed user. As a result, the false rejection rate is equal to 0: if , then the passwords are identical.

It decreases with as an exponential function and decreases with as a polynomial function. We claim that a similar conclusion is also valid for .

## 4. Processing the 1-Block Vectors

where and are the minimum integers satisfying the inequalities and .

for all . Furthermore, the replacement of the sum over at the right-hand side of (8) with the integral over taken over the interval results in (20).

In particular, and are two Gaussian probability density functions having the same mean and different variances equal to and , respectively. The maximum likelihood decoding in this case is equivalent to the selection of one of two hypotheses about the variance of the Gaussian probability distributions having the same mean. It is well known (see, for example [12]) that the probabilities of the incorrect decisions are determined by the ratio of variances, which is equal to and does not depend on .

The multiplications of the probabilities and in (24) by the square roots above and extension of the integration over all possible values of bring the desired bounds.

The value of the integral at the right-hand side of (26) can be easily computed using the statement below.

Proposition 1.

The proof is given in the Appendix.

The bounds (29) are very simple, but they can be useless. For example, if , then . If the acceptance set for the vector consisting of blocks is defined as the set of vectors such that for at least indices and the estimate of the probability of incorrect decision for each block is greater than , then the estimate of probability of incorrect decision for blocks is close to 1. Nevertheless, if the acceptance set is defined differently, considerations of this section are of interest.

## 5. Processing the -Block Vectors

Let us first summarize our verification scheme, which can be also called a basic scheme.

*Enrollment.* Represent the input vector
of length
as a result of concatenation of
blocks of length
. Compute the weights of the blocks
and store them in the database as the vector
.

*Verification.*Having received a binary vector , construct the vector of weights of its blocks and denote this vector by . Compute

where
is defined in (30). Hence,
*is a lower bound on the exponents*
*in*(15)*.*

Suppose that the biometric vectors have length . Let us partition this length in blocks of length (we will refer to the corresponding line in Table 1). In our scheme, each block is mapped to a binary vector of length , and the length of the password is equal to . The compression factor is equal to . Suppose that . Then, the expected number of errors when the biometric vector is corrupted is equal to , which is 5.6 times greater than the length of the password. Nevertheless, we attain the false rejection and the false acceptance rates not greater than . Furthermore, if is increased twice and becomes equal to 256 (the length of the vectors is equal to , then the false rejection and the false acceptance rates are not greater than . Similar conclusions can be drawn for any length in a way that the increase of the length by 14 blocks reduces the false rejection and the false acceptance rates 10 times. If or , then we have to substitute 4.31 or 35.94 for 14.06 in these considerations. Notice also that these numbers are very close to the numbers that are asymptotically attained and have a simple formal expression.

## 6. A Variant of the Verification Scheme Based on Balancing

The vector
is called *a balanced vector* if it contains equal number of zeroes and ones. Thus, the weight of a balanced vector is equal to
.

Introduce the following algorithm.

*Enrollment.*Represent the input vector of length as a result of concatenation of blocks of length . For each block , construct the set and choose an integer according to a uniform probability distribution over the set . Set

and store the vector in the database.

*Verification.*Represent the input vector of length as a result of concatenation of blocks of length . For each block , compute

Make the acceptance decision if and only if , where is the vector whose components are equal to and the acceptance set is defined in (32).

For example, if , then the vector 0000 is mapped to the password "2", the vector 0101 is mapped to the passwords "0", "2", "4" with the probabilities , and the vector 0100 is mapped to the passwords "1", "3" with probability .

Proposition 2.

The proof is given in the Appendix.

An idea of the introduction of the balanced scheme is to reduce the performance of the verifier to the worst case performance for the basic scheme when all components of the vector are equal to . Another disadvantage of the scheme is the point that an attacker passes through the verification stage with the acceptance decision by presenting an alternating vector . On the other hand, the balancing scheme allows us to hide any biometric vector of the user in his password, contrary to the basic scheme where the password consisting of all zeroes discovers the original vector. Furthermore, in most of the cases the same biometric vector can be mapped to many different passwords, since the mapping is stochastic when the cardinality of at least one of the sets is greater than 1.

## 7. Example of Using the Verification Scheme for the DNA Data

There are data received on the basis of the DNA measurements [15]. We previously used them to illustrate coding schemes in [16, 17].

The example, described in this section, is mainly introduced for the illustration, since the performance of the verifier probably does not allow one to recommend it for practical use. Nevertheless, transformations of the outcomes of the measurements seem to be typical. Notice also that the DNA data are universal in a sense that there are 24–28 deciphered alleles where the corresponding probability distributions of the outcomes of the measurements are recognized as stable distributions, while processing fingerprints, iris, and so forth requires the description of a number of technical details.

### 7.1. Structure of the DNA Data and the Mathematical Model

The most common DNA variations are Short Tandem Repeats (STR), arrays of 5 to 50 copies (repeats) of the same pattern (the motif) of 2 to 6 pairs. As the number of repeats of the motif highly varies among individuals, it can be effectively used for identification of individuals. The human genome contains several 100,000 STR loci, that is, physical positions in the DNA sequence where an STR is present. An individual variant of an STR is called allele. Alleles are denoted by the number of repeats of the motif. The genotype of a locus comprises both the maternal and the paternal allele. However, without additional information, one cannot determine which allele resides on the paternal or the maternal chromosome. If the measured numbers are equal to each other, then the genotype is called homozygous. Otherwise, it is called heterozygous. The STR measurement errors are usually classified into three groups: (1)*allelic drop-in*, when in a homozygous genotype, an additional allele is erroneously included, for example, genotype (10,10) is measured as (10,12); (2)*allelic drop–out*, when an allele of a heterozygous genotype is missing, for example, genotype (7,9) is measured as (7,7); (3)*allelic shift*, when an allele is measured with a wrong repeat number, for example, genotype (10,12) is measured as (10,13).

### 7.2. Mapping of the DNA Data to Binary Vectors and Introducing the Passwords

The outcomes of the DNA measurements bring the following results [16]: the total number of alleles is 28, one can extract 128 bits from the measurements of a person, the entropy of the probability distribution over the outcomes is equal to 109, and the maximum probability of a vector consisting of 28 outcomes is equal to
. In the following discussion, we will assume that
(the**DYS391** allele is excluded).

The use of this procedure for maps 27 outcomes to a vector , which can be expressed by a binary vector .

Let us apply the verification scheme described in Section 3 for
and
. Thus, the vector
is mapped to the password
, where
, and we need 15 bits to express a password in binary format. Furthermore, let us postulate the following model for the noise when the DNA data of the same user are measured for the second time: with probability
, the outcome of the measurement at the
th allele is the same as before; with probability
, it is equal to the integer
chosen from the set
according to a uniform probability distribution. In the following formal considerations, we assume a simplified model where *the approximate equality*(62)*is replaced with the equality for all*
*and*
.*One also assumes that the outcome of the measurement of the same user copies the previous value of*
*with probability*
*and that it takes an arbitrary value belonging to the set*
*with probability*
,*where*
*is less than*
. In a practical system,
[15], we set
. Notice that our assumptions do not seem to be critical: after these assumptions are relaxed, the formal analysis below has to be updated with the correction factors without essential change of the conclusions.

Then, is equal to the probability of the event that "the weights of the th DNA measurements" of a randomly chosen person are equal to and at the enrollment and the verification stages, respectively, .

8 | 0.02 | 0.73 | 0.11 | 0.07 | 0.02 | |||||||||

9 | 0.03 | 0.02 | 0.88 | 0.05 | 0.03 | |||||||||

10 | 0.06 | 0.03 | 0.88 | 0.05 | 0.02 | |||||||||

11 | 0.10 | 0.03 | 0.88 | 0.05 | 0.02 | |||||||||

12 | 0.13 | 0.01 | 0.03 | 0.89 | 0.04 | 0.02 | ||||||||

13 | 0.15 | 0.01 | 0.04 | 0.89 | 0.04 | 0.02 | ||||||||

14 | 0.15 | 0.02 | 0.04 | 0.89 | 0.04 | 0.01 | ||||||||

15 | 0.13 | 0.02 | 0.04 | 0.89 | 0.03 | 0.01 | ||||||||

16 | 0.10 | 0.02 | 0.05 | 0.88 | 0.03 | |||||||||

17 | 0.06 | 0.02 | 0.05 | 0.88 | 0.03 | |||||||||

18 | 0.03 | 0.03 | 0.05 | 0.88 | 0.02 | |||||||||

19 | 0.02 | 0.03 | 0.05 | 0.88 | ||||||||||

any | 0.02 | 0.03 | 0.06 | 0.10 | 0.13 | 0.15 | 0.15 | 0.13 | 0.10 | 0.06 | 0.03 | 0.02 |

This value has to be multiplied by a factor having the order of magnitude of if one is interested in the average false acceptance rate. Notice also that the mapping (63) gives an additional resource that decreases the false acceptance rate: if we randomize over the mapping for , then the same factor of the false acceptance rate is obtained for a fixed input vector consisting of pairs of outcomes of the DNA measurements.

Our example also indicates the point that the mapping of the available data to a binary string with the further computation of the weight of the vector looks as an artificial transformation, and "a more natural password" would be specified as the arithmetic average of 9 integers that form the block. However, the arithmetic average is a float, and we also meet a problem of the specification of the length of a binary string needed for its representation (it also determines the length of the password in bits). We plan to discuss this point in a future correspondence.

## 8. Conclusion

We presented some variants of the verification schemes oriented to practical applications where the original biometric vectors are split into blocks and converted to short strings using block-by-block transformations. The key idea is the translation of the statistical dependence between the vectors of the same user into the statistical dependence between passwords assigned to the corresponding blocks. The scheme can be introduced without assumptions about a coordinate—wise dependence between the biometric vectors, which is important for many practical applications, like processing of the iris or fingerprints. In general case, "the weight of the block" is the function of the total amount of information extracted from a fixed number of outcomes of the measurements. In particular, it can be understood as the number of minutiae points belonging to a certain area while measuring the fingerprint. Different types of the observation errors, and like missing of some data, registration errors, synchronization errors, are also accumulated. To implement the verification algorithm, one is supposed to find a proper description of the conditional probability distribution without specification of the errors that cause the corresponding transitions. This problem is oriented to a particular application, since we do not think that there exists a universal procedure for any biometric observations. The analysis presented in our correspondence can serve as a basis for the analysis of the verification performance depending on this probability distribution.

Notice that the verification scheme can be also effectively used when the name of a person, which is used as a pointer to a particular password stored in the database, is not given. In this case, our approach serves as a filter to make a preselection of passwords of the users whose biometric vectors can be close to the presented biometric vector. As a result, we get a typical application of hashing when the rejection decision are made with the data that are stored in a random access memory.

Notice also that there are different variants of the basic procedure. One of them, called the balancing verification scheme, was described. Another variant appears with non-uniform partitioning of the biometric vectors in blocks. In this case, the blocks of lengths are created in such a way that their weights are shifted from "as much as possible" to improve the performance. However, the positions of the boundaries of the blocks have to be stored, and one has to investigate the tradeoff between the performance and the required size of the memory. We did not consider this problem in the present correspondence assuming that the length of the original biometric vector and the length of the password are fixed. In this case, for the basic scheme, the values of and are fixed, and the values of the parameters and are determined.

## Appendix

## B. Proof of Proposition 2

## Declarations

### Acknowledgment

This work was partially supported by the DFG.

## Authors’ Affiliations

## References

- Bolle RM, Connell JH, Pankanti S, Ratha NK, Senior AW:
*Guide to Biometrics*. Springer, New York, NY, USA; 2004.View ArticleGoogle Scholar - Balakirsky VB: Hashing of databases with the use of metric properties of the hamming space.
*Computer Journal*2005, 48(1):4-16. 10.1093/comjnl/bxh059View ArticleGoogle Scholar - Balakirsky VB, Ghazaryan AR, Han Vinck AJ: Estimating the Hamming distance between binary vectors via rate distortion source coding.
*Proceedings of the 29th Symposium on Information Theory in the Benelux, 2008, Leuven, Belgium*3-10.Google Scholar - Balakirsky VB, Ghazaryan AR, Han Vinck AJ: Combinatorial data reduction algorithm and its applications to biometric verification.
*Proceedings of the IEEE International Symposium on Information Theory (ISIT '09), 2009, Seoul, Korea*2246-2251.Google Scholar - Uludag U, Pankanti S, Prabhakar S, Jain AK: Biometric cryptosystems: Issues and challenges.
*Proceedings of the IEEE*2004, 92(6):948-60.View ArticleGoogle Scholar - Ratha N, Chikkerur S, Connell J, Bolle R:
*Security with Noisy Data*. Springer, New York, NY, USA; 2007.Google Scholar - Juels A, Wattenberg M: Fuzzy commitment scheme.
*Proceedings of the 6th ACM Conference on Computer and Communications Securit, November 1999*28-36.View ArticleGoogle Scholar - Dodis Y, Reyzin L, Smith A: Fuzzy extractors: how to generate strong keys from biometrics and other noisy data.
*Lecture Notes in Computer Science*2004, 3027: 523-540. 10.1007/978-3-540-24676-3_31MathSciNetView ArticleMATHGoogle Scholar - Frykholm N, Juels A: Error-tolerant password recovery.
*Proceedings of the 8th ACM Conference on Computer and Communications Security, 2001, Philadelphia, Pa, USA*1-9.Google Scholar - Stinson DR: Universal hashing and authentication codes.
*Designs, Codes and Cryptography*1994, 4(3):369-380. 10.1007/BF01388651MathSciNetView ArticleMATHGoogle Scholar - Van Trees HL:
*Detection, Estimation and Modulation Theory*. John Wiley & Sons, New York, NY, USA; 2002.MATHGoogle Scholar - Papoulis A:
*Papoulis, Probability, Random Variables and Stochastic Processes*. McGraw-Hill, New York, NY, USA; 1984.MATHGoogle Scholar - Gallager R:
*Information Theory and Reliable Communication*. John Wiley & Sons, New York, NY, USA; 1986.MATHGoogle Scholar - Knuth DE: Efficient balanced codes.
*IEEE Transactions on Information Theory*1986, 32(1):51-53. 10.1109/TIT.1986.1057136MathSciNetView ArticleMATHGoogle Scholar - Korte U, Krawczak M, Merkle J,
*et al*.: A cryptographic biometric authentication system based on genetic fingerprints.*Proceedings of the Sicherheit, 2008, Saarbrucken, Germany*263-276.Google Scholar - Balakirsky VB, Ghazaryan AR, Han Vinck AJ: Additive block coding schemes for biometric authentication with the DNA data. In
*Proceedings of the 1st European Workshop on Biometrics and Identity Management, 2008, Lecture Notes in Computer Science*Edited by: Schouten Bet al.. 5372: 160-169.View ArticleGoogle Scholar - Balakirsky VB, Han Vinck AJ: Mathematical model for constructing passwords from biometrical data.
*Security and Communication Networks*2009, 2(1):1-9. 10.1002/sec.96View ArticleGoogle Scholar

## Copyright

This article is published under license to BioMed Central Ltd. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.