The invention discloses a physical-level anti-
quantum key packaging device and method, and the method comprises the steps:
cutting off a
byte stream to a first modulus through a bit
mask operation, and generating a
polynomial matrix in a constant physical
clock period; calculating an inner product of a private key vector of the
polynomial matrix, executing logic combination operation, compressing modulus, and generating a public key vector; after receiving the public key vector, the second communication node reconstructs a
system state by using the temporary private key and outputs a
ciphertext; and the first communication node receives the
ciphertext, performs fault-tolerant restoration and re-
encryption, drives a bottom
multiplexer to generate a
mask, and selects one of a real
session key and a
random noise key to be output in a constant physical
clock period. According to the anti-
quantum cryptography algorithm, logic combination operation, algebraic divide-and-conquer and physical circuit characteristics are utilized, hardware simplification is achieved, meanwhile, safety is improved, strategic expansion capacity is achieved, and the problems that an existing anti-
quantum cryptography algorithm faces the computing power
bottleneck and the
side channel attack risk in a low-power-consumption node lacking a hardware divider circuit are solved.