
Pairing should not be confused with one-to-one correspondence.
In mathematics, a pairing is an R-bilinear map from the Cartesian product of two R-modules, where the underlying ring R is commutative.
Let R be a commutative ring with unit, and let M, N and L be R-modules.
A pairing is any R-bilinear map
e:M x N\toL
e(r ⋅ m,n)=e(m,r ⋅ n)=r ⋅ e(m,n)
e(m1+m2,n)=e(m1,n)+e(m2,n)
e(m,n1+n2)=e(m,n1)+e(m,n2)
for any
r\inR
m,m1,m2\inM
n,n1,n2\inN
M ⊗ RN\toL
where
M ⊗ RN
A pairing can also be considered as an R-linear map
\Phi:M\to\operatorname{Hom}R(N,L)
\Phi(m)(n):=e(m,n)
A pairing is called perfect if the above map
\Phi
\Phi'\colonN\to\operatorname{Hom}R(M,L)
A pairing is called non-degenerate on the right if for the above map we have that
e(m,n)=0
m
n=0
e
e(m,n)=0
n
m=0
When
N=M
e(m,n)=e(n,m)
e(m,m)=0
e(m+n,m+n)=0
e(m+n,m+n)=e(m,m)+e(m,n)+e(n,m)+e(n,n)=e(m,n)+e(n,m)
e(m,n)=-e(n,m)
For a vector space
V
k
V x V\tok
k2 x k2\tok
M*
M
M* x M\toR
(λ,m)\mapstoλ(m)
Other examples of pairings occur in various duality theories, such as Serre duality or Poincaré duality. See also Dual system.
Another example is the Yoneda product between Ext groups.
S3\toS2
h:S2 x S2\toS2
See main article: Pairing-based cryptography. In cryptography, often the following specialized definition is used:[2]
Let
styleG1,G2
styleGT
stylep
styleP\inG1,Q\inG2
styleG1
styleG2
A pairing is a map:
e:G1 x G2 → GT
for which the following holds:
style\foralla,b\inZ: e\left(aP,bQ\right)=e\left(P,Q\right)ab
stylee\left(P,Q\right) ≠ 1
stylee
Note that it is also common in cryptographic literature for all groups to be written in multiplicative notation.
In cases when
styleG1=G2=G
styleG
e
P,Q\inG
e(P,Q)=e(Q,P)
g\inG
p
q
P=gp
Q=gq
e(P,Q)=e(gp,gq)=e(g,g)pq=e(gq,gp)=e(Q,P)
The Weil pairing is an important concept in elliptic curve cryptography; e.g., it may be used to attack certain elliptic curves (see MOV attack). It and other pairings have been used to develop identity-based encryption schemes.
Scalar products on complex vector spaces are sometimes called pairings, although they are not bilinear.For example, in representation theory, one has a scalar product on the characters of complex representations of a finite group which is frequently called character pairing.