Some mathematical foundations of cryptography

Mainly some content about number theory and modern algebra, which is too abstract. Here are some theorems from textbooks and reference materials from the Internet, so that you can review them later~
Textbook "Basics of Coding Theory" by Chen Lusheng and "Information Security Mathematics" Basics" Chen Gongliang

Number Theory

4. Quadratic congruence and square residue

The general form of quadratic congruence:
Insert image description here

quadratic remainder

Definition
Insert image description here
Discussion modulo the prime number ppQuadratic congruence of p : x 2 ≡ a ( mod p ) , ( a , p ) = 1 x^{2}\equiv a(mod \ p), (a,p)=1x2a ( m o d p ) , a,p=1 (1):
Insert image description here
Corollary of the squared residue:
Insert image description here
Define the Legendre symbol to determine whether the integer a is a quadratic residue modulo an odd number p:
Insert image description here
Euler's discriminant rule: Insert image description here
Some properties of the Legendre symbol:
Insert image description here
These properties are generally used to calculateLegendre Legendre symbolThe following are also some properties and theorems for calculating Legendre symbol;
Insert image description here
Insert image description here
quadratic reciprocity law.
Insert image description here
Note that p and q are odd prime numbers that are relatively prime. If not, they can be split using the above properties and
defined in Legendre symbol. The modulo p is extended to the general case modulo m, andthe Jacobian symbolto determine.
Insert image description here

Some properties of Jacobian symbols:
Insert image description here
important lemma theorems for calculations:
Insert image description here

5. Original roots and indicators

Discussion about an ≡ 1 ( modm ) a^n\equiv 1 (mod m)an1 ( m o d m ) problem
definition ordm ( a ): ord_m ( a ):ordm( a ):
Insert image description here
The order is the smallest positive integer that satisfies 4.1, only when the order isφ (m) \varphi(m)Only when φ ( m ) can we say that a is modulo mmThe primitive root of m,
Insert image description here
that is, n must beordm (a) ord_m (a)ordmOnly multiples of ( a ) can make the formula true.

Insert image description here
Because of Euler's theorem, a φ ( m ) ≡ 1 ( modm ) a^{\varphi(m)}\equiv 1 (mod m)aφ ( m )1 ( m o d m ) so in calculatingordm ( a ) ord_m (a)ordm( a ) Whenφ (m) \varphi(m)Find among the factors of φ ( m ) .
Insert image description here
Regarding (ii):
Insert image description here

Insert image description here
Insert image description here
Insert image description here
Can be used to simplify calculations . For example:
Insert image description here
first calculate ordm (a) ord_m (a)ordm( a ) , find the value with large exponent 23456 modordm (a) ord_m(a)ordm( a ) The same value thenconverts the large exponent to the small exponent

Insert image description here

Insert image description here
Corollary:
Insert image description here
Insert image description here
Insert image description here
Perform standard factorization on φ (m), and then determine \varphi(m) Perform standard factorization, and then determinePerform standard factorization on φ ( m ) , and then determine

Insert image description here
Insert image description here
Insert image description here

abstract algebra

group

half group

The definition of a semigroup: Satisfies the associative law of operations. The operations here need to be understood abstractly.
Insert image description here
A semigroup that satisfies the commutative law is called a commutative semigroup:
Insert image description here

Unitary: There exists e ∈ S e ∈SeS for anya ∈ S a∈SaS capitala ∗ e = e ∗ a = aa*e=e*a=aae=ea=a

group

Insert image description here
The difference between a group and a semigroup: a unitary group + identity element e + each element has an inverse element

Theorem: The inverse element exists and is unique

Subgroup:
Insert image description here
Theorem: The identity element of a subgroup of a group is also the identity element of the group, and the inverse element in the subgroup is also the inverse element in the group.

Necessary conditions for judging subgroups:
Insert image description here

order of group elements

Insert image description here
exists such that an = ea^{n}=ean=n for which e is established is calledthe order of element a.If it does not exist, then the order of group element a is said to be infinite.
Properties of group element order:
Insert image description here
isomorphism of groups
Insert image description here
For two groups of isomorphic mapping, if e is the identity element of a group, thenf ( e ) f(e)f ( e ) is the identity element of another group, and there existsf ( a − 1 ) = f ( a ) − 1 f(a^{-1})=f(a)^{-1}f(a1)=f(a)1
For two formally different groups, if they are isomorphic, then we can abstractly regard them as groups that are essentially the same. The only difference is the symbols used.

Cyclic group *

Insert image description here
Cyclic group GGG has a generator a, and the order of this generator is n, that is,an = ea^{n}=ean=e , this groupGGThe order of G is n, and the number of finite order cyclic groups is also n:
n = order of generator = order of group = number of elements of finite order cyclic group n = order of generator = order of group = finite order cycle The number of elements in the groupn=generator order=order of group=
Theorem 2.8 of the number of elements of a finite-order cyclic group : The subgroup of a cyclic group is also a cyclic group
Theorem 2.9:
Insert image description here
Understanding: A factor m of n, n-order cyclic groupGGA cyclic subgroup of order m of G exists and is unique.

Accompaniment and business group

Insert image description here
That is, take the group GGThe elements in G serve as representative elements, and the subgroup HHThe new set formed by performing group operations on all elements of H is called a coset.
Theorem 2.10
Insert image description here
Corollary 2.2Suppose< G , + > <G,+><G,+> is appp finite ringlet group, ifppp is a prime number, then< G , + > <G,+><G,+> is a cyclic group.
A finite commutative group of prime order is a cyclic group.

ring

ring definition

Insert image description here
The ring defines two operations + and * on the set, which satisfies the commutative group for addition and the semigroup for multiplication. And multiplication satisfies the left distributive law and the right distributive law for addition.
If a multiplicative identity element exists for a ring, it is said to be a unitary ring.
Definition : A ring containing only a finite number of elements is called a finite ring

whole ring

Insert image description here
If a ring does not have zero factors, then the elimination law of this ring with respect to multiplication holds, and vice versa.
Definition 2.17 A unitary commutative ring that does not contain zero factors is called an integral ring, and the entire ring satisfies the multiplication law.
Sub-ring :
Insert image description here

ideal

Insert image description here

Taking an element from a subring of a ring, taking any element from the ring, and performing multiplication operations still belongs to the subring III , then this subring is an ideal of the ring.
For a ring{ R , + , ∗ } \{R,+,*\}{ R,+} , 0 {0} 0 and R are two ideals of R, calledRRR ’sordinary ideal, R’s other ideals are calledtrue ideals

Isomorphism of Rings
Insert image description here
If two rings that are formally different are isomorphic, then we can abstractly regard them as essentially the same rings. For two isomorphic rings, the only difference is that the symbols of their corresponding elements are different. They are essentially the same. Isomorphic rings can be regarded as the same ring.

area

Insert image description here
Definition : A field containing only a finite number of elements is called a finite field. A finite field is also called a Galois field. A finite field containing q elements is denoted F q F_{q}FqOr GF ( q ) GF(q)GF ( q )
Theorem 2.17: A domain must be an integral
Theorem 2.18: A finite integral ring must be a domain.

child area
Insert image description here

domain characteristics

Insert image description here
Satisfy ne = 0 ne=0i.e _=The smallest positive integernn that is 0n is domainFFCharacteristics of F , e is the multiplicative identity element, and 0 is the additive identity element. If there is no characteristic, it is 0. The characteristics of the rational number field, the real number field, and the complex number field are all 0.
Theorem 2.20:
Insert image description here
The characteristics of the finite field must beprime numbers
of Theorem 2.21
Insert image description here
Insert image description here
:
Insert image description here

domain isomorphism

Insert image description here
The definition of isomorphism of a domain is exactly the same as that of a ring. Two isomorphic domains are just different in their corresponding symbols. The essence of isomorphic domains is the same. In the future, we will often call isomorphic domains same domain.
Theorem 2.23: Suppose F and F' are two isomorphic fields, then the characteristics of F and F' are the same. Theorem 2.23: Suppose F and F' are two isomorphic fields, then the characteristics of F and F' are the same.Theorem 2.23 : Suppose F and F ' are two isomorphic fields, then F and F has the same characteristics.Isomorphic domain characteristics have the
same automorphic mapping: Isomorphic mapping from F to itself.
Theorem 2.24
Insert image description here
Prime domain:
Insert image description here

Polynomials over the field

About the definition of polynomials on the field:
Insert image description here
About the definition of multiplication and addition of polynomials on the field:
![Insert image description here](https://img-blog.csdnimg.cn/8b009168ee12487fb15740988f351afe.png
ensure that the highest order term of the two expressions exists
Insert image description here
. The polynomial coefficient defined on F 2 [x] can only be 0, 1 defined on F_2[x] The polynomial coefficients can only be {0, 1}F2The polynomial coefficients defined on [ x ] can only be 0 , 1

Highest common factor and lowest common multiple
Insert image description here
Insert image description here

irreducible polynomial

Insert image description here
The unique factorization theorem The formal derivative
Insert image description here
of the heavy factor
f ( x ) of a polynomial is expressed as f ′ ( x ) The formal derivative of f (x) is expressed as f' (x)The formal derivative of f ( x ) is expressed as fThe formal derivative of the ′ (x)
Insert image description here
polynomial satisfies theInsert image description here
necessary and sufficient condition that there is no multiple factor:
f ( x ) f(x)f ( x ) andf ′ ( x ) f'(x)f (x)is relatively prime, that is,gcd ( f ( x ) , f ′ ( x ) ) = 1 gcd(f(x),f'(x))=1gcd(f(x),f(x))=1
Remainder theorem
Insert image description here
Sufficient and necessary conditions for roots on domain F:
Insert image description here
Insert image description here
Split domain
Insert image description here
F is a domain. For any polynomialf ( x ) f(x)There is a split domain for f ( x ) , andf (x) f(x)Any two split domains of f ( x ) are isomorphic.

Polynomial Ideals and Quotient Rings
Insert image description here

Insert image description here
Insert image description here

finite field theory

Guess you like

Origin blog.csdn.net/qq_43245866/article/details/127645661