Solved

javax crypto binary file

Posted on 2008-06-10
2
204 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
mockito example issue 8 72
Java - Why doesn't this JFrame work 3 59
rhino JavaScript import, load 25 84
Java syntax, or is it Selenium 5 10
By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
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…
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

777 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