I need f5 steganography algorithm code in matlab..it has permutation part and matrix encoding(1,n,k) part
3 views (last 30 days)
Show older comments
I am very confused with the matrix encoding part.These are the steps of algo.. The algorithm F5 has the following coarse structure: 1. Start JPEG compression. Stop after the quantisation of coefficients. 2. Initialise a cryptographically strong random number generator with the key derived from the password. 3. Instantiate a permutation (two parameters: random generator and number of coefficients. 4. Determine the parameter k from the capacity of the carrier medium, and the length of the secret message. 5. Calculate the code word length n = 2k − 1. 6. Embed the secret message with (1, n, k) matrix encoding. (a) Fill a buffer with n nonzero coefficients. (b) Hash this buffer (generate a hash value with k bit-places). (c) Add the next k bits of the message to the hash value (bit by bit, xor). (cf. (20)) (d) If the sum is 0, the buffer is left unchanged. Otherwise the sum is the buffer’s index 1 . . .n, the absolute value of its element has to be decremented. (e) Test for shrinkage, i. e. whether we produced a zero. If so, adjust the buffer (eliminate the 0 by reading one more nonzero coefficient, i. e. repeat step 6a beginning from the same coefficient). If no shrinkage occurred, advance to new coefficients behind the actual buffer. If there is still message data continue with step 6a. 7. Continue JPEG compression (Huffman coding etc.). please help me out
0 Comments
Answers (1)
Image Analyst
on 18 Apr 2016
Encryption and steganography are not supposed to be discussed on MATLAB web sites.
0 Comments
See Also
Categories
Find more on Large Files and Big Data in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!