The present application relates to a kind of image
encryption and decryption methods based on
heterojunction memristor PUF, belong to hardware security technical field, the method includes first entropy source extraction: extracting the
high resistance state current of each unit in
heterojunction memristor, second entropy source extraction: the same
heterojunction memristor device is operated multiple times, reads its
low resistance state current value and calculates its
coefficient of variation,
encryption structure dynamic binding: using average value and setting function dynamically determines
global structure parameter in
encryption algorithm, double binding encryption and decryption process: when encryption, with binary initial key as input, and according to global and
local structure parameter, encryption operation is carried out, while recording the topological evolution index in encryption process;When decryption, the global and
local topology is reconstructed by topological evolution index reverse, and decryption is completed after matching and obtaining binary initial key;It improves the ability of anti-
brute force cracking, while guaranteeing the reversibility and reliability of encryption and decryption, with good
scalability and application prospect.