Score:-1

How to Remove Encryption Key from Python Code

us flag

I am trying to remove the encryption (AES) from the improved LSB which is in Python:

I want to do comparison on LSB with AES and LSB without AES. The AES is connected to LSB.py, PLShandler.py, main.py. How to detach/remove the AES completely. i try deleting the AES.py but show error as other files are connected. How to remove the connection in each file. I don't know to reverse engineer that.

https://github.com/ImMahbus/ImprovedLSBSteganography.git https://github.com/ImMahbus/ImprovedLSBSteganography/blob/7925a1ae50b497679c745ce1b9fad0f699c05edc/AES.py (AES file)

I am trying to see any changes on the PSNR, MSE and image qualify if encryption is removed. How to do it? Thanks

us flag
In that code, the encrypted message is embedded into the image. The password is encrypted, the PLS file is encrypted. But i want to try embedding the message without encryption like a normal LSB steganography,just embed the message. Also without encrypting the PLS file.
fgrieu avatar
ng flag
How to remove a functionality from code is a programming problem, thus off-topic. Analyzing the functionality of code also is. What the code does must be explicit in the question or it will be closed (again) for lack of clarity. In the context LSB seems to be used as a shortcut for _steganography in the least significant bit of a digitized image_, but the relation to AES remains unclear. Please at least state what's encrypted: is that the image, or the information encoded in the least significant bits ? In both cases, proper encryption entirely hides any characteristic of what's encrypted.
fgrieu avatar
ng flag
Update: in the [first](https://github.com/ImMahbus/ImprovedLSBSteganography.git) of the two linked pages, the drawings suggest that both the information encoded thru steganagraphy in the least significant bit, and the whole initial digitized image used, are AES-encrypted (with the later producing the "encrypted PLS"). The typo _"Improvised LSB Steganography"_ in that page is spot on.
jp flag
It seems that you are asking how to edit a program to make it do something different. This has a lot more to do with programming than with cryptography.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.