An official website of the United States government
Here's how you know
Official websites use .gov
A
.gov website belongs to an official
government organization in the United States.
Secure .gov websites use HTTPS
A lock (
) or https:// means you've safely
connected to the .gov website. Share sensitive
information only on official, secure websites.
Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Algorithm 4 Pseudo random key generation from Random key.
Require:
Random key (128 bits)
Ensure:
Pseudo Random key ()/2 )
1:
Initial conditions , , and are generated as follows:
2:
The initial values are used for the logistic and sine map, respectively. The maps are iterated times, whereby the random sequences are stored as matrices LF and SF of size as
3:
Based on these intermediary matrices, a final Pseudo random key is then calculated as
where LF(k, l) and SF(k, l) are the elements of the LF and SF matrices, respectively, while k and l denote the row and column of LF. The resulting matrix is Pseudo random key in the range of , where is the size of the watermark image.