The invention provides a generative
image steganography method and
system,
computer equipment and a storage medium, and belongs to the field of
information hiding, and the method comprises the following steps: an embedding and extraction stage: during embedding, generating a pseudo-
random matrix by using a shared key, dividing [0, 1) intervals according to an
embedding rate R by combining a secret message matrix, generating an epipolar probability matrix, and extracting the pseudo-
random matrix from the epipolar probability matrix; mapping into a standard normal distribution
noise matrix through an inverse cumulative
distribution function, and inputting the standard normal distribution
noise matrix into a pre-training
diffusion model to obtain a steganographic image; during extraction, a
receiver synchronously generates a
reference image, obtains initial message
estimation through a pixel
Euclidean distance, converts the initial message
estimation into a continuous matrix, generates an
estimation image through a
diffusion model, iteratively optimizes a loss distance in combination with
gradient descent, and converts the initial message estimation into an
integer matrix until the loss reaches the standard to recover a secret message. According to the method, a
diffusion model does not need to be modified, the unification of high embedding capacity, nearly 99% extraction accuracy and high safety is realized, and the method is adaptive to diversified scenes.