Well I had written a program which encrypts a file database.txt in same folder as program and can also decrypt it, But when trying to decrypt the encrypted file the file that returns to me is partially decrypted. My code is as follows -
Thanks for replying ,
I am sorry but I had written y in (qwerty) by mistake there and for the second mistake u told me , I tried to change the variable size to pass[5] but I am getting the same result.
Well when I try to encrypt a file every 4th character starting from the 1st is left unencrypted but while Decryption all the characters except those which were left the same get decrypted. So in short every 4th character does not gets decrypted, for more info you can see the output files I had attached in my previous post.