i need to read jpg image, get it\'s data bytes, encrypt it and write result in other jpg file so it can be opened and encrypted image can be seen, currently i have this code