- Source: 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
R
{\displaystyle R}
from an input
w
{\displaystyle w}
, with a tolerance for noise. If the input changes to
w
′
{\displaystyle w'}
but is still close to
w
{\displaystyle w}
, the same string
R
{\displaystyle R}
will be re-constructed. To achieve this, during the initial computation of
R
{\displaystyle R}
the process also outputs a helper string
P
{\displaystyle P}
which will be stored to recover
R
{\displaystyle R}
later and can be made public without compromising the security of
R
{\displaystyle R}
. The security of the process is also ensured when an adversary modifies
P
{\displaystyle P}
. Once the fixed string
R
{\displaystyle R}
has been calculated, it can be used, for example, for key agreement between a user and a server based only on a biometric input.
History
One precursor to fuzzy extractors was the so-called "Fuzzy Commitment", as designed by Juels and Wattenberg. Here, the cryptographic key is decommitted 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.
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. Fuzzy extractors also have applications in the proof of impossibility of the strong notions of privacy with regard to statistical databases.
Basic definitions
= Predictability
=Predictability indicates the probability that an adversary can guess a secret key. Mathematically speaking, the predictability of a random variable
A
{\displaystyle A}
is
max
a
P
[
A
=
a
]
{\displaystyle \max _{\mathrm {a} }P[A=a]}
.
For example, given a pair of random variable
A
{\displaystyle A}
and
B
{\displaystyle B}
, if the adversary knows
b
{\displaystyle b}
of
B
{\displaystyle B}
, then the predictability of
A
{\displaystyle A}
will be
max
a
P
[
A
=
a
|
B
=
b
]
{\displaystyle \max _{\mathrm {a} }P[A=a|B=b]}
. So, an adversary can predict
A
{\displaystyle A}
with
E
b
←
B
[
max
a
P
[
A
=
a
|
B
=
b
]
]
{\displaystyle E_{b\leftarrow B}[\max _{\mathrm {a} }P[A=a|B=b]]}
. We use the average over
B
{\displaystyle B}
as it is not under adversary control, but since knowing
b
{\displaystyle b}
makes the prediction of
A
{\displaystyle A}
adversarial, we take the worst case over
A
{\displaystyle A}
.
= Min-entropy
=Min-entropy indicates the worst-case entropy. Mathematically speaking, it is defined as
H
∞
(
A
)
=
−
log
(
max
a
P
[
A
=
a
]
)
{\displaystyle H_{\infty }(A)=-\log(\max _{\mathrm {a} }P[A=a])}
.
A random variable with a min-entropy at least of
m
{\displaystyle m}
is called a
m
{\displaystyle m}
-source.
= Statistical distance
=Statistical distance is a measure of distinguishability. Mathematically speaking, it is expressed for two probability distributions
A
{\displaystyle A}
and
B
{\displaystyle B}
as
S
D
[
A
,
B
]
{\displaystyle SD[A,B]}
=
1
2
∑
v
|
P
[
A
=
v
]
−
P
[
B
=
v
]
|
{\displaystyle {\frac {1}{2}}\sum _{\mathrm {v} }|P[A=v]-P[B=v]|}
. In any system, if
A
{\displaystyle A}
is replaced by
B
{\displaystyle B}
, it will behave as the original system with a probability at least of
1
−
S
D
[
A
,
B
]
{\displaystyle 1-SD[A,B]}
.
= Definition 1 (strong extractor)
=Setting
M
{\displaystyle M}
as a strong randomness extractor. The randomized function Ext:
M
→
{
0
,
1
}
l
{\displaystyle M\rightarrow \{0,1\}^{l}}
, with randomness of length
r
{\displaystyle r}
, is a
(
m
,
l
,
ϵ
)
{\displaystyle (m,l,\epsilon )}
strong extractor for all
m
{\displaystyle m}
-sources
W
{\displaystyle W}
on
M
(
Ext
(
W
;
I
)
,
I
)
≈
ϵ
(
U
l
,
U
r
)
,
{\displaystyle M(\operatorname {Ext} (W;I),I)\approx _{\epsilon }(U_{l},U_{r}),}
where
I
=
U
r
{\displaystyle I=U_{r}}
is independent of
W
{\displaystyle W}
.
The output of the extractor is a key generated from
w
←
W
{\displaystyle w\leftarrow W}
with the seed
i
←
I
{\displaystyle i\leftarrow I}
. It behaves independently of other parts of the system, with the probability of
1
−
ϵ
{\displaystyle 1-\epsilon }
. Strong extractors can extract at most
l
=
m
−
2
log
1
ϵ
+
O
(
1
)
{\displaystyle l=m-2\log {\frac {1}{\epsilon }}+O(1)}
bits from an arbitrary
m
{\displaystyle m}
-source.
= Secure sketch
=Secure sketch makes it possible to reconstruct noisy input; so that, if the input is
w
{\displaystyle w}
and the sketch is
s
{\displaystyle s}
, given
s
{\displaystyle s}
and a value
w
′
{\displaystyle w'}
close to
w
{\displaystyle w}
,
w
{\displaystyle w}
can be recovered. But the sketch
s
{\displaystyle s}
must not reveal information about
w
{\displaystyle w}
, in order to keep it secure.
If
M
{\displaystyle \mathbb {M} }
is a metric space, a secure sketch recovers the point
w
∈
M
{\displaystyle w\in \mathbb {M} }
from any point
w
′
∈
M
{\displaystyle w'\in \mathbb {M} }
close to
w
{\displaystyle w}
, without disclosing
w
{\displaystyle w}
itself.
= Definition 2 (secure sketch)
=An
(
m
,
m
~
,
t
)
{\displaystyle (m,{\tilde {m}},t)}
secure sketch is a pair of efficient randomized procedures (SS – Sketch; Rec – Recover) such that:
(1) The sketching procedure SS takes as input
w
∈
M
{\displaystyle w\in \mathbb {M} }
and returns a string
s
∈
{
0
,
1
}
∗
{\displaystyle s\in {\{0,1\}^{*}}}
.
The recovery procedure Rec takes as input the two elements
w
′
∈
M
{\displaystyle w'\in \mathbb {M} }
and
s
∈
{
0
,
1
}
∗
{\displaystyle s\in {\{0,1\}^{*}}}
.
(2) Correctness: If
d
i
s
(
w
,
w
′
)
≤
t
{\displaystyle dis(w,w')\leq t}
then
R
e
c
(
w
′
,
S
S
(
w
)
)
=
w
{\displaystyle Rec(w',SS(w))=w}
.
(3) Security: For any
m
{\displaystyle m}
-source over
M
{\displaystyle M}
, the min-entropy of
W
{\displaystyle W}
, given
s
{\displaystyle s}
, is high:
For any
(
W
,
E
)
{\displaystyle (W,E)}
, if
H
~
∞
(
W
|
E
)
≥
m
{\displaystyle {\tilde {H}}_{\mathrm {\infty } }(W|E)\geq m}
, then
H
~
∞
(
W
|
S
S
(
W
)
,
E
)
≥
m
~
{\displaystyle {\tilde {H}}_{\mathrm {\infty } }(W|SS(W),E)\geq {\tilde {m}}}
.
= Fuzzy extractor
=Fuzzy extractors do not recover the original input but generate a string
R
{\displaystyle R}
(which is close to uniform) from
w
{\displaystyle w}
and allow its subsequent reproduction (using helper string
P
{\displaystyle P}
) given any
w
′
{\displaystyle w'}
close to
w
{\displaystyle w}
. Strong extractors are a special case of fuzzy extractors when
t
{\displaystyle t}
= 0 and
P
=
I
{\displaystyle P=I}
.
= Definition 3 (fuzzy extractor)
=An
(
m
,
l
,
t
,
ϵ
)
{\displaystyle (m,l,t,\epsilon )}
fuzzy extractor is a pair of efficient randomized procedures (Gen – Generate and Rep – Reproduce) such that:
(1) Gen, given
w
∈
M
{\displaystyle w\in \mathbb {M} }
, outputs an extracted string
R
∈
{
0
,
1
}
l
{\displaystyle R\in {\mathbb {\{} 0,1\}^{l}}}
and a helper string
P
∈
{
0
,
1
}
∗
{\displaystyle P\in {\mathbb {\{} 0,1\}^{*}}}
.
(2) Correctness: If
d
i
s
(
w
,
w
′
)
≤
t
{\displaystyle dis(w,w')\leq t}
and
(
R
,
P
)
←
G
e
n
(
w
)
{\displaystyle (R,P)\leftarrow Gen(w)}
, then
R
e
p
(
w
′
,
P
)
=
R
{\displaystyle Rep(w',P)=R}
.
(3) Security: For all m-sources
W
{\displaystyle W}
over
M
{\displaystyle M}
, the string
R
{\displaystyle R}
is nearly uniform, even given
P
{\displaystyle P}
. So, when
H
~
∞
(
W
|
E
)
≥
m
{\displaystyle {\tilde {H}}_{\mathrm {\infty } }(W|E)\geq m}
, then
(
R
,
P
,
E
)
≈
(
U
l
,
P
,
E
)
{\displaystyle (R,P,E)\approx (U_{\mathrm {l} },P,E)}
.
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
ϵ
{\displaystyle \epsilon }
. 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
w
{\displaystyle w}
to obtain
s
{\displaystyle s}
, and strong extractor Ext, with randomness
x
{\displaystyle x}
, to
w
{\displaystyle w}
, to get
R
{\displaystyle R}
.
(
s
,
x
)
{\displaystyle (s,x)}
can be stored as helper string
P
{\displaystyle P}
.
R
{\displaystyle R}
can be reproduced by
w
′
{\displaystyle w'}
and
P
=
(
s
,
x
)
{\displaystyle P=(s,x)}
.
R
e
c
(
w
′
,
s
)
{\displaystyle Rec(w',s)}
can recover
w
{\displaystyle w}
and
E
x
t
(
w
,
x
)
{\displaystyle Ext(w,x)}
can reproduce
R
{\displaystyle R}
.
The following lemma formalizes this.
= Lemma 1 (fuzzy extractors from sketches)
=Assume (SS,Rec) is an
(
M
,
m
,
m
~
,
t
)
{\displaystyle (M,m,{\tilde {m}},t)}
secure sketch and let Ext be an average-case
(
n
,
m
~
,
l
,
ϵ
)
{\displaystyle (n,{\tilde {m}},l,\epsilon )}
strong extractor. Then the following (Gen, Rep) is an
(
M
,
m
,
l
,
t
,
ϵ
)
{\displaystyle (M,m,l,t,\epsilon )}
fuzzy extractor:
(1) Gen
(
w
,
r
,
x
)
{\displaystyle (w,r,x)}
: set
P
=
(
S
S
(
w
;
r
)
,
x
)
,
R
=
E
x
t
(
w
;
x
)
,
{\displaystyle P=(SS(w;r),x),R=Ext(w;x),}
and output
(
R
,
P
)
{\displaystyle (R,P)}
.
(2) Rep
(
w
′
,
(
s
,
x
)
)
{\displaystyle (w',(s,x))}
: recover
w
=
R
e
c
(
w
′
,
s
)
{\displaystyle w=Rec(w',s)}
and output
R
=
E
x
t
(
w
;
x
)
{\displaystyle R=Ext(w;x)}
.
Proof:
from the definition of secure sketch (Definition 2),
H
∞
(
W
|
S
S
(
W
)
)
≥
m
~
{\displaystyle H_{\infty }(W|SS(W))\geq {\tilde {m}}}
;
and since Ext is an average-case
(
n
,
m
,
l
,
ϵ
)
{\displaystyle (n,m,l,\epsilon )}
-strong extractor;
S
D
(
(
E
x
t
(
W
;
X
)
,
S
S
(
W
)
,
X
)
,
(
U
l
,
S
S
(
W
)
,
X
)
)
=
S
D
(
(
R
,
P
)
,
(
U
l
,
P
)
)
≤
ϵ
.
{\displaystyle SD((Ext(W;X),SS(W),X),(U_{l},SS(W),X))=SD((R,P),(U_{l},P))\leq \epsilon .}
= Corollary 1
=If (SS,Rec) is an
(
M
,
m
,
m
~
,
t
)
{\displaystyle (M,m,{\tilde {m}},t)}
secure sketch and Ext is an
(
n
,
m
~
−
l
o
g
(
1
δ
)
,
l
,
ϵ
)
{\displaystyle (n,{\tilde {m}}-log({\frac {1}{\delta }}),l,\epsilon )}
strong extractor, then the above construction (Gen, Rep) is a
(
M
,
m
,
l
,
t
,
ϵ
+
δ
)
{\displaystyle (M,m,l,t,\epsilon +\delta )}
fuzzy extractor.
The cited paper includes many generic combinatorial bounds on secure sketches and fuzzy extractors.
Basic constructions
Due to their error-tolerant properties, secure sketches can be treated, analyzed, and constructed like a
(
n
,
k
,
d
)
F
{\displaystyle (n,k,d)_{\mathcal {F}}}
general error-correcting code or
[
n
,
k
,
d
]
F
{\displaystyle [n,k,d]_{\mathcal {F}}}
for linear codes, where
n
{\displaystyle n}
is the length of codewords,
k
{\displaystyle k}
is the length of the message to be coded,
d
{\displaystyle d}
is the distance between codewords, and
F
{\displaystyle {\mathcal {F}}}
is the alphabet. If
F
n
{\displaystyle {\mathcal {F}}^{n}}
is the universe of possible words then it may be possible to find an error correcting code
C
⊂
F
n
{\displaystyle C\subset {\mathcal {F}}^{n}}
such that there exists a unique codeword
c
∈
C
{\displaystyle c\in C}
for every
w
∈
F
n
{\displaystyle w\in {\mathcal {F}}^{n}}
with a Hamming distance of
d
i
s
H
a
m
(
c
,
w
)
≤
(
d
−
1
)
/
2
{\displaystyle dis_{Ham}(c,w)\leq (d-1)/2}
. 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
2
t
+
1
{\displaystyle 2t+1}
where
t
{\displaystyle {t}}
is the number of tolerated errors.
Code-offset construction
When using a
(
n
,
k
,
2
t
+
1
)
F
{\displaystyle (n,k,2t+1)_{\mathcal {F}}}
general code, assign a uniformly random codeword
c
∈
C
{\displaystyle c\in C}
to each
w
{\displaystyle w}
, then let
S
S
(
w
)
=
s
=
w
−
c
{\displaystyle SS(w)=s=w-c}
which is the shift needed to change
c
{\displaystyle c}
into
w
{\displaystyle w}
. To fix errors in
w
′
{\displaystyle w'}
, subtract
s
{\displaystyle s}
from
w
′
{\displaystyle w'}
, then correct the errors in the resulting incorrect codeword to get
c
{\displaystyle c}
, and finally add
s
{\displaystyle s}
to
c
{\displaystyle c}
to get
w
{\displaystyle w}
. This means
R
e
c
(
w
′
,
s
)
=
s
+
d
e
c
(
w
′
−
s
)
=
w
{\displaystyle Rec(w',s)=s+dec(w'-s)=w}
. This construction can achieve the best possible tradeoff between error tolerance and entropy loss when
F
≥
n
{\displaystyle {\mathcal {F}}\geq n}
and a Reed–Solomon code is used, resulting in an entropy loss of
2
t
log
(
F
)
{\displaystyle 2t\log({\mathcal {F}})}
. The only way to improve upon this result would be to find a code better than Reed–Solomon.
Syndrome construction
When using a
[
n
,
k
,
2
t
+
1
]
F
{\displaystyle [n,k,2t+1]_{\mathcal {F}}}
linear code, let the
S
S
(
w
)
=
s
{\displaystyle SS(w)=s}
be the syndrome of
w
{\displaystyle w}
. To correct
w
′
{\displaystyle w'}
, find a vector
e
{\displaystyle e}
such that
s
y
n
(
e
)
=
s
y
n
(
w
′
)
−
s
{\displaystyle syn(e)=syn(w')-s}
; then
w
=
w
′
−
e
{\displaystyle w=w'-e}
.
= Set difference constructions
=When working with a very large alphabet or very long strings resulting in a very large universe
U
{\displaystyle {\mathcal {U}}}
, it may be more efficient to treat
w
{\displaystyle w}
and
w
′
{\displaystyle w'}
as sets and look at set differences to correct errors. To work with a large set
w
{\displaystyle w}
it is useful to look at its characteristic vector
x
w
{\displaystyle x_{w}}
, which is a binary vector of length
n
{\displaystyle n}
that has a value of 1 when an element
a
∈
U
{\displaystyle a\in {\mathcal {U}}}
and
a
∈
w
{\displaystyle a\in w}
, or 0 when
a
∉
w
{\displaystyle a\notin w}
. The best way to decrease the size of a secure sketch when
n
{\displaystyle n}
is large is to make
k
{\displaystyle k}
large, since the size is determined by
n
−
k
{\displaystyle n-k}
. A good code on which to base this construction is a
[
n
,
n
−
t
α
,
2
t
+
1
]
2
{\displaystyle [n,n-t\alpha ,2t+1]_{2}}
BCH code, where
n
=
2
α
−
1
{\displaystyle n=2^{\alpha }-1}
and
t
≪
n
{\displaystyle t\ll n}
, so that
k
≤
n
−
l
o
g
(
n
t
)
{\displaystyle k\leq n-log{n \choose {t}}}
. It is useful that BCH codes can be decoded in sub-linear time.
Pin sketch construction
Let
S
S
(
w
)
=
s
=
s
y
n
(
x
w
)
{\displaystyle SS(w)=s=syn(x_{w})}
. To correct
w
′
{\displaystyle w'}
, first find
S
S
(
w
′
)
=
s
′
=
s
y
n
(
x
w
′
)
{\displaystyle SS(w')=s'=syn(x_{w}')}
, then find a set v where
s
y
n
(
x
v
)
=
s
′
−
s
{\displaystyle syn(x_{v})=s'-s}
, and finally compute the symmetric difference, to get
R
e
c
(
w
′
,
s
)
=
w
′
△
v
=
w
{\displaystyle Rec(w',s)=w'\triangle v=w}
. 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
n
/
4
{\displaystyle n/4}
error corrections, and to approach Shannon's bound, which allows for nearly
n
/
2
{\displaystyle n/2}
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
p
{\displaystyle _{p}}
to create a
w
′
{\displaystyle w'}
with a probability
p
{\displaystyle p}
at each position in
w
′
{\displaystyle w'}
that the bit received is wrong. This model can show that entropy loss is limited to
n
H
(
p
)
−
o
(
n
)
{\displaystyle nH(p)-o(n)}
, where
H
{\displaystyle H}
is the binary entropy function.If min-entropy
m
≥
n
(
H
(
1
2
−
γ
)
)
+
ε
{\displaystyle m\geq n(H({\frac {1}{2}}-\gamma ))+\varepsilon }
then
n
(
1
2
−
γ
)
{\displaystyle n({\frac {1}{2}}-\gamma )}
errors can be tolerated, for some constant
γ
>
0
{\displaystyle \gamma >0}
.
= Input-dependent errors
=For this model, errors do not have a known distribution and can be from an adversary, the only constraints being
d
i
s
err
≤
t
{\displaystyle dis_{\text{err}}\leq t}
and that a corrupted word depends only on the input
w
{\displaystyle w}
and not on the secure sketch. It can be shown for this error model that there will never be more than
t
{\displaystyle t}
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
w
{\displaystyle w}
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
f
(
W
)
{\displaystyle f(W)}
. 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
P
{\displaystyle P}
would reveal no information about the biometric input
w
{\displaystyle w}
. This is only possible when every subsequent biometric reading
w
′
{\displaystyle w'}
is identical to the original
w
{\displaystyle w}
. 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
w
{\displaystyle w}
.
Since it is desirable to accept biometric input
w
′
{\displaystyle w'}
similar to
w
{\displaystyle w}
, the helper string
P
{\displaystyle P}
must be somehow correlated. The more different
w
{\displaystyle w}
and
w
′
{\displaystyle w'}
are allowed to be, the more correlation there will be between
P
{\displaystyle P}
and
w
{\displaystyle w}
; the more correlated they are, the more information
P
{\displaystyle P}
reveals about
w
{\displaystyle w}
. We can consider this information to be a function
f
(
W
)
{\displaystyle f(W)}
. 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
Y
(
)
{\displaystyle Y()}
hides the results of functions with a small amount of leakage
ϵ
{\displaystyle \epsilon }
. 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:
|
Pr
[
A
1
(
Y
(
W
)
)
=
f
(
W
)
]
−
Pr
[
A
2
(
)
=
f
(
W
)
]
|
≤
ϵ
{\displaystyle |\Pr[A_{1}(Y(W))=f(W)]-\Pr[A_{2}()=f(W)]|\leq \epsilon }
If the function
Gen
(
W
)
{\displaystyle \operatorname {Gen} (W)}
is a probabilistic map, then even if an adversary knows both the helper string
P
{\displaystyle P}
and the secret string
R
{\displaystyle R}
, they are only negligibly more likely figure something out about the subject that if they knew nothing. The string
R
{\displaystyle R}
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
ϵ
{\displaystyle \epsilon }
is small. We can consider
f
(
W
)
{\displaystyle f(W)}
to be any correlation between the biometric input and some physical characteristic of the person. Setting
Y
=
Gen
(
W
)
=
R
,
P
{\displaystyle Y=\operatorname {Gen} (W)=R,P}
in the above equation changes it to:
|
Pr
[
A
1
(
R
,
P
)
=
f
(
W
)
]
−
Pr
[
A
2
(
)
=
f
(
W
)
]
|
≤
ϵ
{\displaystyle |\Pr[A_{1}(R,P)=f(W)]-\Pr[A_{2}()=f(W)]|\leq \epsilon }
This means that if one adversary
A
1
{\displaystyle A_{1}}
has
(
R
,
P
)
{\displaystyle (R,P)}
and a second adversary
A
2
{\displaystyle A_{2}}
knows nothing, their best guesses at
f
(
W
)
{\displaystyle f(W)}
are only
ϵ
{\displaystyle \epsilon }
apart.
= Uniform fuzzy extractors
=Uniform fuzzy extractors are a special case of fuzzy extractors, where the output
(
R
,
P
)
{\displaystyle (R,P)}
of
G
e
n
(
W
)
{\displaystyle Gen(W)}
is negligibly different from strings picked from the uniform distribution, i.e.
(
R
,
P
)
≈
ϵ
(
U
ℓ
,
U
|
P
|
)
{\displaystyle (R,P)\approx _{\epsilon }(U_{\ell },U_{|P|})}
.
= 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
S
S
(
w
)
{\displaystyle SS(w)}
is a randomness extractor
E
x
t
(
w
;
i
)
{\displaystyle Ext(w;i)}
, where
w
{\displaystyle w}
is the biometric input and
i
{\displaystyle i}
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
(
m
,
t
,
ϵ
)
{\displaystyle (m,t,\epsilon )}
-fuzzy perfectly one-way hash functions. When used as a hash function the input
w
{\displaystyle w}
is the object you want to hash. The
P
,
R
{\displaystyle P,R}
that
G
e
n
(
w
)
{\displaystyle Gen(w)}
outputs is the hash value. If one wanted to verify that a
w
′
{\displaystyle w'}
within
t
{\displaystyle t}
from the original
w
{\displaystyle w}
, they would verify that
R
e
p
(
w
′
,
P
)
=
R
{\displaystyle Rep(w',P)=R}
. Such fuzzy perfectly one-way hash functions are special hash functions where they accept any input with at most
t
{\displaystyle t}
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
t
{\displaystyle t}
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
P
{\displaystyle P}
. If an adversary is able to change
P
{\displaystyle P}
to another string that is also acceptable to the reproduce function
R
e
p
(
W
,
P
)
{\displaystyle Rep(W,P)}
, it causes
R
e
p
(
W
,
P
)
{\displaystyle Rep(W,P)}
to output an incorrect secret string
R
~
{\displaystyle {\tilde {R}}}
. 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
H
1
{\displaystyle H_{1}}
and
H
2
{\displaystyle H_{2}}
. The
G
e
n
(
W
)
{\displaystyle Gen(W)}
function produces the helper string
P
{\displaystyle P}
by appending the output of a secure sketch
s
=
S
S
(
w
)
{\displaystyle s=SS(w)}
to the hash of both the reading
w
{\displaystyle w}
and secure sketch
s
{\displaystyle s}
. It generates the secret string
R
{\displaystyle R}
by applying the second hash function to
w
{\displaystyle w}
and
s
{\displaystyle s}
. Formally:
G
e
n
(
w
)
:
s
=
S
S
(
w
)
,
r
e
t
u
r
n
:
P
=
(
s
,
H
1
(
w
,
s
)
)
,
R
=
H
2
(
w
,
s
)
{\displaystyle Gen(w):s=SS(w),return:P=(s,H_{1}(w,s)),R=H_{2}(w,s)}
The reproduce function
R
e
p
(
W
,
P
)
{\displaystyle Rep(W,P)}
also makes use of the hash functions
H
1
{\displaystyle H_{1}}
and
H
2
{\displaystyle H_{2}}
. In addition to verifying that the biometric input is similar enough to the one recovered using the
R
e
c
(
W
,
S
)
{\displaystyle Rec(W,S)}
function, it also verifies that the hash in the second part of
P
{\displaystyle P}
was actually derived from
w
{\displaystyle w}
and
s
{\displaystyle s}
. If both of those conditions are met, it returns
R
{\displaystyle R}
, which is itself the second hash function applied to
w
{\displaystyle w}
and
s
{\displaystyle s}
. Formally:
R
e
p
(
w
′
,
P
~
)
:
{\displaystyle Rep(w',{\tilde {P}}):}
Get
s
~
{\displaystyle {\tilde {s}}}
and
h
~
{\displaystyle {\tilde {h}}}
from
P
~
;
w
~
=
R
e
c
(
w
′
,
s
~
)
.
{\displaystyle {\tilde {P}};{\tilde {w}}=Rec(w',{\tilde {s}}).}
If
Δ
(
w
~
,
w
′
)
≤
t
{\displaystyle \Delta ({\tilde {w}},w')\leq t}
and
h
~
=
H
1
(
w
~
,
s
~
)
{\displaystyle {\tilde {h}}=H_{1}({\tilde {w}},{\tilde {s}})}
then
r
e
t
u
r
n
:
H
2
(
w
~
,
s
~
)
{\displaystyle return:H_{2}({\tilde {w}},{\tilde {s}})}
else
r
e
t
u
r
n
:
f
a
i
l
{\displaystyle return:fail}
If
P
{\displaystyle P}
has been tampered with, it will be obvious, because
R
e
p
{\displaystyle Rep}
will fail on output with very high probability. To cause the algorithm to accept a different
P
{\displaystyle P}
, an adversary would have to find a
w
~
{\displaystyle {\tilde {w}}}
such that
H
1
(
w
,
s
)
=
H
1
(
w
~
,
s
~
)
{\displaystyle H_{1}(w,s)=H_{1}({\tilde {w}},{\tilde {s}})}
. Since hash function are believed to be one-way functions, it is computationally infeasible to find such a
w
~
{\displaystyle {\tilde {w}}}
. Seeing
P
{\displaystyle P}
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
w
{\displaystyle w}
. Part of
P
{\displaystyle P}
is the secure sketch, but by definition the sketch reveals negligible information about its input. Similarly seeing
R
{\displaystyle R}
(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
Further reading
"Fuzzy Extractors: A Brief Survey of Results from 2004 to 2006".
Álvarez, F. Hernández; et al. (2007). "Biometric Fuzzy Extractor Scheme for Iris Templates" (PDF). Spanish National Research Council (CSIC). Retrieved 25 March 2022.
Juels, Ari; et al. (2002). "A Fuzzy Vault Scheme" (PDF). MIT Computer Science and Artificial Intelligence Laboratory (CSAIL). Retrieved 25 March 2022.
Fuller, Benjamin; et al. (2014). "When are Fuzzy Extractors Possible?" (PDF). International Association for Cryptologic Research (IACR). Retrieved 23 July 2024.
External links
"Minisketch: An optimized C++ library for BCH-based (Pin Sketch) set reconciliation". github.com. 31 May 2021.
Kata Kunci Pencarian:
- Fuzzy extractor
- Randomness extractor
- Physical unclonable function
- Biometrics
- European Association for Biometrics
- Type-2 fuzzy sets and systems
- Types of physical unclonable function
- Fuzzy matching (computer-assisted translation)
- Fuzzy-trace theory
- Types of artificial neural networks
No More Posts Available.
No more pages to load.