Fuzzy extractor
Fuzzy extractors are a method that allows biometric data to be used as inputs to standard cryptographic techniques, to enhance computer security. "Fuzzy", in this context, refers to the fact that the fixed values required for cryptography will be extracted from values close to but not identical to the original key, without compromising the security required. One application is to encrypt and authenticate users records, using the biometric inputs of the user as a key.
Fuzzy extractors are a biometric tool that allows for user authentication, using a biometric template constructed from the user's biometric data as the key, by extracting a uniform and random string [math]\displaystyle{ R }[/math] from an input [math]\displaystyle{ w }[/math], with a tolerance for noise. If the input changes to [math]\displaystyle{ w' }[/math] but is still close to [math]\displaystyle{ w }[/math], the same string [math]\displaystyle{ R }[/math] will be re-constructed. To achieve this, during the initial computation of [math]\displaystyle{ R }[/math] the process also outputs a helper string [math]\displaystyle{ P }[/math] which will be stored to recover [math]\displaystyle{ R }[/math] later and can be made public without compromising the security of [math]\displaystyle{ R }[/math]. The security of the process is also ensured when an adversary modifies [math]\displaystyle{ P }[/math]. Once the fixed string [math]\displaystyle{ R }[/math] has been calculated, it can be used, for example, for key agreement between a user and a server based only on a biometric input.[1][2]
History
One precursor to fuzzy extractors was the so-called "Fuzzy Commitment", as designed by Juels and Wattenberg.[2] Here, the cryptographic key is decommited using biometric data.
Later, Juels and Sudan came up with Fuzzy vault schemes. These are order invariant for the fuzzy commitment scheme and use a Reed–Solomon error correction code. The code word is inserted as the coefficients of a polynomial, and this polynomial is then evaluated with respect to various properties of the biometric data.
Both Fuzzy Commitment and Fuzzy Vaults were precursors to Fuzzy Extractors.[citation needed]
Motivation
In order for fuzzy extractors to generate strong keys from biometric and other noisy data, cryptography paradigms will be applied to this biometric data. These paradigms:
(1) Limit the number of assumptions about the content of the biometric data (this data comes from a variety of sources; so, in order to avoid exploitation by an adversary, it's best to assume the input is unpredictable).
(2) Apply usual cryptographic techniques to the input. (Fuzzy extractors convert biometric data into secret, uniformly random, and reliably reproducible random strings.)
These techniques can also have other broader applications for other type of noisy inputs such as approximative data from human memory, images used as passwords, and keys from quantum channels.[2] Fuzzy extractors also have applications in the proof of impossibility of the strong notions of privacy with regard to statistical databases.[3]
Basic definitions
Predictability
Predictability indicates the probability that an adversary can guess a secret key. Mathematically speaking, the predictability of a random variable [math]\displaystyle{ A }[/math] is [math]\displaystyle{ \max_{\mathrm{a}}P[A = a] }[/math].
For example, given a pair of random variable [math]\displaystyle{ A }[/math] and [math]\displaystyle{ B }[/math], if the adversary knows [math]\displaystyle{ b }[/math] of [math]\displaystyle{ B }[/math], then the predictability of [math]\displaystyle{ A }[/math] will be [math]\displaystyle{ \max_{\mathrm{a}}P[A = a | B = b] }[/math]. So, an adversary can predict [math]\displaystyle{ A }[/math] with [math]\displaystyle{ E_{b \leftarrow B}[\max_{\mathrm{a}} P[A = a | B = b]] }[/math]. We use the average over [math]\displaystyle{ B }[/math] as it is not under adversary control, but since knowing [math]\displaystyle{ b }[/math] makes the prediction of [math]\displaystyle{ A }[/math] adversarial, we take the worst case over [math]\displaystyle{ A }[/math].
Min-entropy
Min-entropy indicates the worst-case entropy. Mathematically speaking, it is defined as [math]\displaystyle{ H_\infty(A) = - \log(\max_{\mathrm{a}}P[A = a]) }[/math] .
A random variable with a min-entropy at least of [math]\displaystyle{ m }[/math] is called a [math]\displaystyle{ m }[/math]-source.
Statistical distance
Statistical distance is a measure of distinguishability. Mathematically speaking, it is expressed for two probability distributions [math]\displaystyle{ A }[/math] and [math]\displaystyle{ B }[/math] as [math]\displaystyle{ SD[A,B] }[/math] = [math]\displaystyle{ \frac{1}{2}\sum_{\mathrm{v}} | P[A = v] - P[B = v] | }[/math]. In any system, if [math]\displaystyle{ A }[/math] is replaced by [math]\displaystyle{ B }[/math], it will behave as the original system with a probability at least of [math]\displaystyle{ 1 - SD[A,B] }[/math].
Definition 1 (strong extractor)
Setting [math]\displaystyle{ M }[/math] as a strong randomness extractor. The randomized function Ext: [math]\displaystyle{ M \rightarrow \{0,1\}^l }[/math], with randomness of length [math]\displaystyle{ r }[/math], is a [math]\displaystyle{ (m,l,\epsilon) }[/math] strong extractor for all [math]\displaystyle{ m }[/math]-sources [math]\displaystyle{ W }[/math] on [math]\displaystyle{ M (\operatorname{Ext}(W;I), I) \approx_\epsilon (U_l, U_r), }[/math] where [math]\displaystyle{ I = U_r }[/math] is independent of [math]\displaystyle{ W }[/math].
The output of the extractor is a key generated from [math]\displaystyle{ w \leftarrow W }[/math] with the seed [math]\displaystyle{ i \leftarrow I }[/math]. It behaves independently of other parts of the system, with the probability of [math]\displaystyle{ 1 - \epsilon }[/math]. Strong extractors can extract at most [math]\displaystyle{ l = m - 2 \log \frac {1} {\epsilon} + O(1) }[/math] bits from an arbitrary [math]\displaystyle{ m }[/math]-source.
Secure sketch
Secure sketch makes it possible to reconstruct noisy input; so that, if the input is [math]\displaystyle{ w }[/math] and the sketch is [math]\displaystyle{ s }[/math], given [math]\displaystyle{ s }[/math] and a value [math]\displaystyle{ w' }[/math]close to [math]\displaystyle{ w }[/math], [math]\displaystyle{ w }[/math] can be recovered. But the sketch [math]\displaystyle{ s }[/math] must not reveal information about [math]\displaystyle{ w }[/math], in order to keep it secure.
If [math]\displaystyle{ \mathbb{M} }[/math] is a metric space, a secure sketch recovers the point [math]\displaystyle{ w \in \mathbb{M} }[/math] from any point [math]\displaystyle{ w' \in \mathbb{M} }[/math] close to [math]\displaystyle{ w }[/math], without disclosing [math]\displaystyle{ w }[/math] itself.
Definition 2 (secure sketch)
An [math]\displaystyle{ (m,\tilde{m},t) }[/math] secure sketch is a pair of efficient randomized procedures (SS – Sketch; Rec – Recover) such that:
(1) The sketching procedure SS takes as input [math]\displaystyle{ w \in \mathbb{M} }[/math] and returns a string [math]\displaystyle{ s \in {\{0,1\}^*} }[/math].
- The recovery procedure Rec takes as input the two elements [math]\displaystyle{ w' \in \mathbb{M} }[/math] and [math]\displaystyle{ s \in {\{0,1\}^*} }[/math].
(2) Correctness: If [math]\displaystyle{ dis(w,w') \leq t }[/math] then [math]\displaystyle{ Rec(w',SS(w)) = w }[/math].
(3) Security: For any [math]\displaystyle{ m }[/math]-source over [math]\displaystyle{ M }[/math], the min-entropy of [math]\displaystyle{ W }[/math], given [math]\displaystyle{ s }[/math], is high:
- For any [math]\displaystyle{ (W,E) }[/math], if [math]\displaystyle{ \tilde{H}_{\mathrm{\infty}}(W|E) \geq m }[/math], then [math]\displaystyle{ \tilde{H}_{\mathrm{\infty}}(W|SS(W),E) \geq \tilde{m} }[/math].
Fuzzy extractor
Fuzzy extractors do not recover the original input but generate a string [math]\displaystyle{ R }[/math] (which is close to uniform) from [math]\displaystyle{ w }[/math] and allow its subsequent reproduction (using helper string [math]\displaystyle{ P }[/math]) given any [math]\displaystyle{ w' }[/math] close to [math]\displaystyle{ w }[/math]. Strong extractors are a special case of fuzzy extractors when [math]\displaystyle{ t }[/math] = 0 and [math]\displaystyle{ P = I }[/math].
Definition 3 (fuzzy extractor)
An [math]\displaystyle{ (m,l, t, \epsilon) }[/math] fuzzy extractor is a pair of efficient randomized procedures (Gen – Generate and Rep – Reproduce) such that:
(1) Gen, given [math]\displaystyle{ w \in \mathbb{M} }[/math], outputs an extracted string [math]\displaystyle{ R \in {\mathbb\{0,1\}^l} }[/math] and a helper string [math]\displaystyle{ P \in {\mathbb\{0,1\}^*} }[/math].
(2) Correctness: If [math]\displaystyle{ dis(w,w') \leq t }[/math] and [math]\displaystyle{ (R,P) \leftarrow Gen(w) }[/math], then [math]\displaystyle{ Rep(w',P) = R }[/math].
(3) Security: For all m-sources [math]\displaystyle{ W }[/math] over [math]\displaystyle{ M }[/math], the string [math]\displaystyle{ R }[/math] is nearly uniform, even given [math]\displaystyle{ P }[/math]. So, when [math]\displaystyle{ \tilde{H}_{\mathrm{\infty}}(W|E) \geq m }[/math], then [math]\displaystyle{ (R,P,E) \approx ( U_{\mathrm{l}}, P, E) }[/math].
So Fuzzy extractors output almost uniform random sequences of bits which are a prerequisite for using cryptographic applications (as secret keys). Since the output bits are slightly non-uniform, there's a risk of a decreased security; but the distance from a uniform distribution is no more than [math]\displaystyle{ \epsilon }[/math]. As long as this distance is sufficiently small, the security will remain adequate.
Secure sketches and fuzzy extractors
Secure sketches can be used to construct fuzzy extractors: for example, applying SS to [math]\displaystyle{ w }[/math] to obtain [math]\displaystyle{ s }[/math], and strong extractor Ext, with randomness [math]\displaystyle{ x }[/math], to [math]\displaystyle{ w }[/math], to get [math]\displaystyle{ R }[/math]. [math]\displaystyle{ (s,x) }[/math] can be stored as helper string [math]\displaystyle{ P }[/math]. [math]\displaystyle{ R }[/math] can be reproduced by [math]\displaystyle{ w' }[/math] and [math]\displaystyle{ P = (s,x) }[/math]. [math]\displaystyle{ Rec (w',s) }[/math] can recover [math]\displaystyle{ w }[/math] and [math]\displaystyle{ Ext(w,x) }[/math] can reproduce [math]\displaystyle{ R }[/math].
The following lemma formalizes this.
Lemma 1 (fuzzy extractors from sketches)
Assume (SS,Rec) is an [math]\displaystyle{ (M,m,\tilde{m},t) }[/math] secure sketch and let Ext be an average-case [math]\displaystyle{ (n,\tilde{m},l,\epsilon) }[/math] strong extractor. Then the following (Gen, Rep) is an [math]\displaystyle{ (M,m,l,t,\epsilon) }[/math] fuzzy extractor:
(1) Gen [math]\displaystyle{ (w,r,x) }[/math]: set [math]\displaystyle{ P = (SS(w;r),x),R = Ext(w;x), }[/math] and output [math]\displaystyle{ (R,P) }[/math].
(2) Rep [math]\displaystyle{ (w',(s,x)) }[/math]: recover [math]\displaystyle{ w = Rec(w',s) }[/math] and output [math]\displaystyle{ R = Ext(w;x) }[/math].
Proof:
- from the definition of secure sketch (Definition 2), [math]\displaystyle{ H_\infty(W | SS(W)) \geq \tilde{m} }[/math];
- and since Ext is an average-case [math]\displaystyle{ (n,m,l, \epsilon) }[/math]-strong extractor;
- [math]\displaystyle{ SD (( Ext(W;X),SS(W),X),(U_l,SS(W),X)) = SD((R,P),(U_l,P)) \leq \epsilon. }[/math]
Corollary 1
If (SS,Rec) is an [math]\displaystyle{ (M,m,\tilde{m},t) }[/math] secure sketch and Ext is an [math]\displaystyle{ (n,\tilde{m}-log(\frac {1} {\delta}),l,\epsilon) }[/math] strong extractor,
then the above construction (Gen, Rep) is a [math]\displaystyle{ (M,m,l,t,\epsilon + \delta) }[/math] fuzzy extractor.
The cited paper includes many generic combinatorial bounds on secure sketches and fuzzy extractors.[2]
Basic constructions
Due to their error-tolerant properties, secure sketches can be treated, analyzed, and constructed like a [math]\displaystyle{ (n,k,d)_{\mathcal{F}} }[/math] general error-correcting code or [math]\displaystyle{ [n,k,d]_{\mathcal{F}} }[/math] for linear codes, where [math]\displaystyle{ n }[/math] is the length of codewords, [math]\displaystyle{ k }[/math] is the length of the message to be coded, [math]\displaystyle{ d }[/math] is the distance between codewords, and [math]\displaystyle{ \mathcal{F} }[/math] is the alphabet. If [math]\displaystyle{ \mathcal{F}^n }[/math] is the universe of possible words then it may be possible to find an error correcting code [math]\displaystyle{ C \subset \mathcal{F}^n }[/math] such that there exists a unique codeword [math]\displaystyle{ c \in C }[/math] for every [math]\displaystyle{ w \in \mathcal{F}^n }[/math] with a Hamming distance of [math]\displaystyle{ dis_{Ham}(c,w) \leq (d-1)/2 }[/math]. The first step in constructing a secure sketch is determining the type of errors that will likely occur and then choosing a distance to measure.
Hamming distance constructions
When there is no risk of data being deleted and only of its being corrupted, then the best measurement to use for error correction is the Hamming distance. There are two common constructions for correcting Hamming errors, depending on whether the code is linear or not. Both constructions start with an error-correcting code that has a distance of [math]\displaystyle{ 2t+1 }[/math] where [math]\displaystyle{ {t} }[/math] is the number of tolerated errors.
Code-offset construction
When using a [math]\displaystyle{ (n,k,2t+1)_{\mathcal{F}} }[/math] general code, assign a uniformly random codeword [math]\displaystyle{ c \in C }[/math] to each [math]\displaystyle{ w }[/math], then let [math]\displaystyle{ SS(w)=s=w-c }[/math] which is the shift needed to change [math]\displaystyle{ c }[/math] into [math]\displaystyle{ w }[/math]. To fix errors in [math]\displaystyle{ w' }[/math], subtract [math]\displaystyle{ s }[/math] from [math]\displaystyle{ w' }[/math], then correct the errors in the resulting incorrect codeword to get [math]\displaystyle{ c }[/math], and finally add [math]\displaystyle{ s }[/math] to [math]\displaystyle{ c }[/math] to get [math]\displaystyle{ w }[/math]. This means [math]\displaystyle{ Rec(w',s)=s+dec(w'-s)=w }[/math]. This construction can achieve the best possible tradeoff between error tolerance and entropy loss when [math]\displaystyle{ \mathcal{F} \geq n }[/math] and a Reed–Solomon code is used, resulting in an entropy loss of [math]\displaystyle{ 2t\log(\mathcal{F}) }[/math]. The only way to improve upon this result would be to find a code better than Reed–Solomon.
Syndrome construction
When using a [math]\displaystyle{ [n,k,2t+1]_{\mathcal{F}} }[/math] linear code, let the [math]\displaystyle{ SS(w)=s }[/math] be the syndrome of [math]\displaystyle{ w }[/math]. To correct [math]\displaystyle{ w' }[/math], find a vector [math]\displaystyle{ e }[/math] such that [math]\displaystyle{ syn(e)=syn(w')-s }[/math]; then [math]\displaystyle{ w=w'-e }[/math].
Set difference constructions
When working with a very large alphabet or very long strings resulting in a very large universe [math]\displaystyle{ \mathcal{U} }[/math], it may be more efficient to treat [math]\displaystyle{ w }[/math] and [math]\displaystyle{ w' }[/math] as sets and look at set differences to correct errors. To work with a large set [math]\displaystyle{ w }[/math] it is useful to look at its characteristic vector [math]\displaystyle{ x_w }[/math], which is a binary vector of length [math]\displaystyle{ n }[/math] that has a value of 1 when an element [math]\displaystyle{ a \in \mathcal{U} }[/math] and [math]\displaystyle{ a \in w }[/math], or 0 when [math]\displaystyle{ a \notin w }[/math]. The best way to decrease the size of a secure sketch when [math]\displaystyle{ n }[/math] is large is to make [math]\displaystyle{ k }[/math] large, since the size is determined by [math]\displaystyle{ n-k }[/math]. A good code on which to base this construction is a [math]\displaystyle{ [n,n-t\alpha,2t+1]_{2} }[/math] BCH code, where [math]\displaystyle{ n=2^{\alpha}-1 }[/math] and [math]\displaystyle{ t \ll n }[/math], so that [math]\displaystyle{ k \leq n-log{n \choose{t}} }[/math]. It is useful that BCH codes can be decoded in sub-linear time.
Pin sketch construction
Let [math]\displaystyle{ SS(w)=s=syn(x_w) }[/math]. To correct [math]\displaystyle{ w' }[/math], first find [math]\displaystyle{ SS(w')=s'=syn(x_w') }[/math], then find a set v where [math]\displaystyle{ syn(x_v)=s'-s }[/math], and finally compute the symmetric difference, to get [math]\displaystyle{ Rec(w',s)=w' \triangle v=w }[/math]. While this is not the only construction that can be used to set the difference, it is the easiest one.
Edit distance constructions
When data can be corrupted or deleted, the best measurement to use is edit distance. To make a construction based on edit distance, the easiest way is to start with a construction for set difference or hamming distance as an intermediate correction step, and then build the edit distance construction around that.
Other distance measure constructions
There are many other types of errors and distances that can be used to model other situations. Most of these other possible constructions are built upon simpler constructions, such as edit-distance constructions.
Improving error tolerance via relaxed notions of correctness
It can be shown that the error tolerance of a secure sketch can be improved by applying a probabilistic method to error correction with a high probability of success. This allows potential code words to exceed the Plotkin bound, which has a limit of [math]\displaystyle{ n/4 }[/math] error corrections, and to approach Shannon's bound, which allows for nearly [math]\displaystyle{ n/2 }[/math] corrections. To achieve this enhanced error correction, a less restrictive error distribution model must be used.
Random errors
For this most restrictive model, use a BSC[math]\displaystyle{ _{p} }[/math] to create a [math]\displaystyle{ w' }[/math] with a probability [math]\displaystyle{ p }[/math] at each position in [math]\displaystyle{ w' }[/math] that the bit received is wrong. This model can show that entropy loss is limited to [math]\displaystyle{ nH(p)-o(n) }[/math], where [math]\displaystyle{ H }[/math] is the binary entropy function.If min-entropy [math]\displaystyle{ m \geq n(H(\frac{1}{2} - \gamma)) + \varepsilon }[/math] then [math]\displaystyle{ n(\frac{1}{2} - \gamma) }[/math] errors can be tolerated, for some constant [math]\displaystyle{ \gamma \gt 0 }[/math].
Input-dependent errors
For this model, errors do not have a known distribution and can be from an adversary, the only constraints being [math]\displaystyle{ dis_\text{err} \leq t }[/math] and that a corrupted word depends only on the input [math]\displaystyle{ w }[/math] and not on the secure sketch. It can be shown for this error model that there will never be more than [math]\displaystyle{ t }[/math] errors, since this model can account for all complex noise processes, meaning that Shannon's bound can be reached; to do this a random permutation is prepended to the secure sketch that will reduce entropy loss.
Computationally bounded errors
This model differs from the input-dependent model by having errors that depend on both the input [math]\displaystyle{ w }[/math] and the secure sketch, and an adversary is limited to polynomial-time algorithms for introducing errors. Since algorithms that can run in better-than-polynomial-time are not currently feasible in the real world, then a positive result using this error model would guarantee that any errors can be fixed. This is the least restrictive model, where the only known way to approach Shannon's bound is to use list-decodable codes, although this may not always be useful in practice, since returning a list, instead of a single code word, may not always be acceptable.
Privacy guarantees
In general, a secure system attempts to leak as little information as possible to an adversary. In the case of biometrics, if information about the biometric reading is leaked, the adversary may be able to learn personal information about a user. For example, an adversary notices that there is a certain pattern in the helper strings that implies the ethnicity of the user. We can consider this additional information a function [math]\displaystyle{ f(W) }[/math]. If an adversary were to learn a helper string, it must be ensured that, from this data he can not infer any data about the person from whom the biometric reading was taken.
Correlation between helper string and biometric input
Ideally the helper string [math]\displaystyle{ P }[/math] would reveal no information about the biometric input [math]\displaystyle{ w }[/math]. This is only possible when every subsequent biometric reading [math]\displaystyle{ w' }[/math] is identical to the original [math]\displaystyle{ w }[/math]. In this case, there is actually no need for the helper string; so, it is easy to generate a string that is in no way correlated to [math]\displaystyle{ w }[/math].
Since it is desirable to accept biometric input [math]\displaystyle{ w' }[/math] similar to [math]\displaystyle{ w }[/math], the helper string [math]\displaystyle{ P }[/math] must be somehow correlated. The more different [math]\displaystyle{ w }[/math] and [math]\displaystyle{ w' }[/math] are allowed to be, the more correlation there will be between [math]\displaystyle{ P }[/math] and [math]\displaystyle{ w }[/math]; the more correlated they are, the more information [math]\displaystyle{ P }[/math] reveals about [math]\displaystyle{ w }[/math]. We can consider this information to be a function [math]\displaystyle{ f(W) }[/math]. The best possible solution is to make sure an adversary can't learn anything useful from the helper string.
Gen(W) as a probabilistic map
A probabilistic map [math]\displaystyle{ Y() }[/math] hides the results of functions with a small amount of leakage [math]\displaystyle{ \epsilon }[/math]. The leakage is the difference in probability two adversaries have of guessing some function, when one knows the probabilistic map and one does not. Formally:
- [math]\displaystyle{ | \Pr[A_1(Y(W)) = f(W)] - \Pr[A_2() = f(W)] | \leq \epsilon }[/math]
If the function [math]\displaystyle{ \operatorname{Gen}(W) }[/math] is a probabilistic map, then even if an adversary knows both the helper string [math]\displaystyle{ P }[/math] and the secret string [math]\displaystyle{ R }[/math], they are only negligibly more likely figure something out about the subject that if they knew nothing. The string [math]\displaystyle{ R }[/math] is supposed to be kept secret; so, even if it is leaked (which should be very unlikely)m the adversary can still figure out nothing useful about the subject, as long as [math]\displaystyle{ \epsilon }[/math] is small. We can consider [math]\displaystyle{ f(W) }[/math] to be any correlation between the biometric input and some physical characteristic of the person. Setting [math]\displaystyle{ Y = \operatorname{Gen}(W) = R, P }[/math] in the above equation changes it to:
- [math]\displaystyle{ |\Pr[A_1(R, P) = f(W)] - \Pr[A_2() = f(W)]| \leq \epsilon }[/math]
This means that if one adversary [math]\displaystyle{ A_1 }[/math] has [math]\displaystyle{ (R,P) }[/math] and a second adversary [math]\displaystyle{ A_2 }[/math] knows nothing, their best guesses at [math]\displaystyle{ f(W) }[/math] are only [math]\displaystyle{ \epsilon }[/math] apart.
Uniform fuzzy extractors
Uniform fuzzy extractors are a special case of fuzzy extractors, where the output [math]\displaystyle{ (R,P) }[/math] of [math]\displaystyle{ Gen(W) }[/math] is negligibly different from strings picked from the uniform distribution, i.e. [math]\displaystyle{ (R, P) \approx_\epsilon (U_\ell, U_{|P|}) }[/math].
Uniform secure sketches
Since secure sketches imply fuzzy extractors, constructing a uniform secure sketch allows for the easy construction of a uniform fuzzy extractor. In a uniform secure sketch, the sketch procedure [math]\displaystyle{ SS(w) }[/math] is a randomness extractor [math]\displaystyle{ Ext(w;i) }[/math], where [math]\displaystyle{ w }[/math] is the biometric input and [math]\displaystyle{ i }[/math] is the random seed. Since randomness extractors output a string that appears to be from a uniform distribution, they hide all information about their input.
Applications
Extractor sketches can be used to construct [math]\displaystyle{ (m, t, \epsilon) }[/math]-fuzzy perfectly one-way hash functions. When used as a hash function the input [math]\displaystyle{ w }[/math] is the object you want to hash. The [math]\displaystyle{ P, R }[/math] that [math]\displaystyle{ Gen(w) }[/math] outputs is the hash value. If one wanted to verify that a [math]\displaystyle{ w' }[/math] within [math]\displaystyle{ t }[/math] from the original [math]\displaystyle{ w }[/math], they would verify that [math]\displaystyle{ Rep(w', P) = R }[/math]. Such fuzzy perfectly one-way hash functions are special hash functions where they accept any input with at most [math]\displaystyle{ t }[/math] errors, compared to traditional hash functions which only accept when the input matches the original exactly. Traditional cryptographic hash functions attempt to guarantee that is it is computationally infeasible to find two different inputs that hash to the same value. Fuzzy perfectly one-way hash functions make an analogous claim. They make it computationally infeasible two find two inputs that are more than [math]\displaystyle{ t }[/math] Hamming distance apart and hash to the same value.
Protection against active attacks
An active attack could be one where an adversary can modify the helper string [math]\displaystyle{ P }[/math]. If an adversary is able to change [math]\displaystyle{ P }[/math] to another string that is also acceptable to the reproduce function [math]\displaystyle{ Rep(W, P) }[/math], it causes [math]\displaystyle{ Rep(W, P) }[/math] to output an incorrect secret string [math]\displaystyle{ \tilde{R} }[/math]. Robust fuzzy extractors solve this problem by allowing the reproduce function to fail, if a modified helper string is provided as input.
Robust fuzzy extractors
One method of constructing robust fuzzy extractors is to use hash functions. This construction requires two hash functions [math]\displaystyle{ H_1 }[/math] and [math]\displaystyle{ H_2 }[/math]. The [math]\displaystyle{ Gen(W) }[/math] function produces the helper string [math]\displaystyle{ P }[/math] by appending the output of a secure sketch [math]\displaystyle{ s = SS(w) }[/math] to the hash of both the reading [math]\displaystyle{ w }[/math] and secure sketch [math]\displaystyle{ s }[/math]. It generates the secret string [math]\displaystyle{ R }[/math] by applying the second hash function to [math]\displaystyle{ w }[/math] and [math]\displaystyle{ s }[/math]. Formally:
[math]\displaystyle{ Gen(w): s = SS(w), return: P = (s, H_1(w,s)), R = H_2(w,s) }[/math]
The reproduce function [math]\displaystyle{ Rep(W, P) }[/math] also makes use of the hash functions [math]\displaystyle{ H_1 }[/math] and [math]\displaystyle{ H_2 }[/math]. In addition to verifying that the biometric input is similar enough to the one recovered using the [math]\displaystyle{ Rec(W,S) }[/math] function, it also verifies that the hash in the second part of [math]\displaystyle{ P }[/math] was actually derived from [math]\displaystyle{ w }[/math] and [math]\displaystyle{ s }[/math]. If both of those conditions are met, it returns [math]\displaystyle{ R }[/math], which is itself the second hash function applied to [math]\displaystyle{ w }[/math] and [math]\displaystyle{ s }[/math]. Formally:
[math]\displaystyle{ Rep(w',\tilde{P}): }[/math] Get [math]\displaystyle{ \tilde{s} }[/math] and [math]\displaystyle{ \tilde{h} }[/math] from [math]\displaystyle{ \tilde{P}; \tilde{w} = Rec(w',\tilde{s}). }[/math] If [math]\displaystyle{ \Delta(\tilde{w}, w') \leq t }[/math] and [math]\displaystyle{ \tilde{h} = H_1(\tilde{w},\tilde{s}) }[/math] then [math]\displaystyle{ return: H_2(\tilde{w}, \tilde{s}) }[/math] else [math]\displaystyle{ return: fail }[/math]
If [math]\displaystyle{ P }[/math] has been tampered with, it will be obvious, because [math]\displaystyle{ Rep }[/math] will fail on output with very high probability. To cause the algorithm to accept a different [math]\displaystyle{ P }[/math], an adversary would have to find a [math]\displaystyle{ \tilde{w} }[/math] such that [math]\displaystyle{ H_1(w, s) = H_1(\tilde{w},\tilde{s}) }[/math]. Since hash function are believed to be one-way functions, it is computationally infeasible to find such a [math]\displaystyle{ \tilde{w} }[/math]. Seeing [math]\displaystyle{ P }[/math] would provide an adversary with no useful information. Since, again, hash function are one-way functions, it is computationally infeasible for an adversary to reverse the hash function and figure out [math]\displaystyle{ w }[/math]. Part of [math]\displaystyle{ P }[/math] is the secure sketch, but by definition the sketch reveals negligible information about its input. Similarly seeing [math]\displaystyle{ R }[/math] (even though it should never see it) would provide an adversary with no useful information, as an adversary wouldn't be able to reverse the hash function and see the biometric input.
References
- ↑ "Fuzzy Extractors: A Brief Survey of Results from 2004 to 2006". https://www.cs.bu.edu/~reyzin/fuzzysurvey.html.
- ↑ 2.0 2.1 2.2 2.3 Yevgeniy Dodis, Rafail Ostrovsky, Leonid Reyzin, and Adam Smith. "Fuzzy Extractors: How to Generate Strong Keys from Biometrics and Other Noisy Data".2008.
- ↑ Dwork, Cynthia (2006). "Differential Privacy". Automata, Languages and Programming: 33rd International Colloquium, ICALP 2006, Venice, Italy, July 10-14, 2006, Proceedings, Part II (Lecture Notes in Computer Science). Springer. ISBN 978-354035907-4.
Further reading
- "Fuzzy Extractors: A Brief Survey of Results from 2004 to 2006". http://www.cs.bu.edu/~reyzin/fuzzysurvey.html.
- Álvarez, F. Hernández (2007). "Biometric Fuzzy Extractor Scheme for Iris Templates". http://digital.csic.es/bitstream/10261/15966/1/SAM3262.pdf.
- Juels, Ari (2002). "A Fuzzy Vault Scheme". http://people.csail.mit.edu/madhu/papers/2002/ari-journ.pdf.
External links
- "Minisketch: An optimized C++ library for BCH-based (Pin Sketch) set reconciliation". 31 May 2021. https://github.com/sipa/minisketch.
Original source: https://en.wikipedia.org/wiki/Fuzzy extractor.
Read more |