• Post Reply Bookmark Topic Watch Topic
  • New Topic

Encryption-decryption loosing bytes in operation

 
mandlar suurla
Ranch Hand
Posts: 67
Debian Linux PHP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here is my encryption/decrypt code. But after decrypting file, it is some bytes bigger or smaller, i dont know how to get the exact bytes.


Simple use of it
 
Paul Clapham
Sheriff
Posts: 21867
36
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You aren't closing your output stream after you finish writing to it.
 
mandlar suurla
Ranch Hand
Posts: 67
Debian Linux PHP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yeha it worked like charm .
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!