|
Algorithm 1: Image Sharing
|
|
Input: Image M, Encryption keys Xt, . |
|
Output: Sharing images C(t), . |
| Step 1: A set of pixels (Pi,j, …, Pi,j+k−1) is extracted from Image M. The polynomial is generated using the set of pixels (Pi,j, …, Pi,j+k−1). |
| Step 2: Substitute the Encryption key Xt, through 256 Galois field into the polynomial to obtain n encrypted pixel values y(t)i,j, where y(t)i,j
, . |
| Step 3: The encrypted pixel values y(t)i,j are divided into 8-bits, and each bit is put into the pixels of the shared image C(t) in order (C(t)i,j, …, C(t)i,j+k−1), and it is called the P part, if , because cannot put all the bits at once, so the remaining bits are put in order again and the remaining vacant part is called Part B. |
| Step 4: Repeat Step 2 and Step 3 until all set of pixels (Pi,j, …, Pi,j+k−1) have been processed. |
| Step 5: Output n encrypted shared images C(t),. |