![]() ![]() The function then uses the randperm list to encode the message values in the cover image. This ensures that we don't overwrite message values in the cover image and can recover the message during the decoding stage (see Stegandecoder_Rand). To do this the function determines the dimensions of the cover image, multiplies the dimensions together to provide the number of pixels available and uses randperm to randomly permutate a list that includes values from 1 to the total pixel values available in a predicatable and repeatable way by using the same random seed key value. Then the function uses the randperm function to randomly select pixel locations to encode the message within. This function first determines the message type and length and encodes this as header information (first 24 randomly encoded values).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
June 2023
Categories |