• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 216
  • Last Modified:

javax crypto binary file

Is there a secret to using javax crypto with binary files?
I can get it to work for text files, but with binary files, in this case .an xls file, i get back garbage.
0
allelopath
Asked:
allelopath
1 Solution
 
objectsCommented:
It should be no different. Make sure you are dealing with the file with a stream and not readers/writers.
0
 
allelopathAuthor Commented:
it had something to do with the buffer size, not exactly sure ...
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now