learn java:DO SOME CrAZy code
This code encrypt the image and which on re-running decrypt it but must use same key
Note:
This code is so simple that ,it the main idea is:Image is a byte array,who's first byte(0th) is converted using XOR (XOR give advantage that re-run give back the data back)using the key.
Procedure:
1.Place the images in folder "img",which have to encrypt .
2.Run the code to get Encrypted.
3.Run the code to get Decrypted.