sadhanshetty / Color-Image-Encryption

2 stars 0 forks source link

Decryption effect #1

Open StarDate1 opened 1 month ago

StarDate1 commented 1 month ago

Dear author, when I reproduced your code, I found that there are always some undecrypted parts on the left edge of the image (I showed the decrypted image). I am a scholar who has just touched this field. How can I solve this problem? decry_city_1

sadhanshetty commented 1 month ago

You might want to try limiting the key value to 6 digits and see if that resolves the issue. This adjustment could help ensure that the decryption process works correctly across the entire image. Give it a shot and let me know if it helps.

On Wed, 25 Sept 2024 at 12:37, StarDate1 @.***> wrote:

Dear author, when I reproduced your code, I found that there are always some undecrypted parts on the left edge of the image (I showed the decrypted image). I am a scholar who has just touched this field. How can I solve this problem? decry_city_1.png (view on web) https://github.com/user-attachments/assets/554f0f8d-1bfe-4f39-961c-3568ba1d2747

— Reply to this email directly, view it on GitHub https://github.com/sadhanshetty/Color-Image-Encryption/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/BAU3NSQYRQJ3U763WXLTRF3ZYJOJNAVCNFSM6AAAAABOZ2U4GGVHI2DSMVQWIX3LMV43ASLTON2WKOZSGU2DOMJTGU2DMNY . You are receiving this because you are subscribed to this thread.Message ID: @.***>

StarDate1 commented 1 month ago

引用回复 Thank you very much for your reply. I followed your suggestion to limit the key value to 7 digits (because it is easier to change it according to the original logic). But the result did not change, and the undecrypted pixels still appear on the left. Maybe I changed it wrong? I hope you can answer me when you are free. I am sorry that I can only take a screenshot to show you my code, GitHub does not support uploading .py files. And I attached my decrypted picture again. encry1 encry2 decry1 decry2 decry3