Solved

javax crypto binary file

Posted on 2008-06-10
2
206 Views
Last Modified: 2010-03-30
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
Comment
Question by:allelopath
2 Comments
 
LVL 92

Accepted Solution

by:
objects earned 500 total points
ID: 21756088
It should be no different. Make sure you are dealing with the file with a stream and not readers/writers.
0
 
LVL 1

Author Comment

by:allelopath
ID: 21761758
it had something to do with the buffer size, not exactly sure ...
0

Featured Post

Industry Leaders: 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!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
This video teaches viewers about errors in exception handling.

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question