The invention discloses a one-way
data transmission method and
system between physical isolation networks based on a national cryptographic
algorithm, and relates to the technical field of computer information
network security, the method comprises the following steps: a sending terminal processes an encrypted public key and a random number by using an SM9
algorithm, and displays an obtained secret key packaging two-dimensional code; the receiving terminal carries out decoding
verification on the key packaging two-dimensional code, and if the
verification is passed, a packaging key is obtained; the sending terminal encrypts the
original data by using an SM4GCM
algorithm to obtain a
ciphertext, performs RaptorQ coding on the
ciphertext to obtain redundant data fragments, performs coding
processing on the auxiliary information and the redundant data fragments, and displays an obtained two-dimensional code sequence; the receiving terminal performs decoding
verification on the two-dimensional code sequence, and if the verification is passed, decrypted data is obtained; the Hash value of the decrypted data is calculated through the SM3 algorithm, if the Hash value of the decrypted data is consistent with the Hash value of the
original data,
data transmission is completed, and safe, efficient and reliable
data transmission can be achieved.