This invention discloses a
quantum-
attack-resistant
blockchain-based
password authentication key exchange and
authentication method. The method involves inputting preset parameters, a trapdoor, a matrix, a
noise vector, a
password, and a public key into a computer
system; executing a parameter generation
algorithm to generate public parameters; executing a hash
key generation algorithm to generate a hash key and a projected hash
key generation algorithm to generate a projected hash key; generating a tag based on the identifiers of both communicating parties and the projected hash key, encrypting it to obtain
ciphertext, and transmitting and receiving the projected hash key and
ciphertext from the communicating party; verifying the validity of the communicating party's projected hash key, and generating a
session key based on relevant parameters; and finally, the computer
system processor executes a
computer program and outputs the
session key. This invention integrates a lattice-based smooth projected
hash function with a trapdoor and a
blockchain structure, possessing
quantum attack resistance, general composable security characteristics, requiring only one round of communication, and is suitable for large-scale
blockchain node scenarios.