How to encrypt and decrypt sound files in Java?

Is there a way to encrypt and decrypt sound files such as *.wav , *.au or *.snd files in Java ?

Edit : I knew how to encrypt and decrypt text files, just curious if a sound file could be encrypted and decrypted, now it seems I can use the same methods.


Yes there is a way. It is effectively the same as encrypting/decrypting text as the API requests or returns byte arrays.

Here is a very basic example: Basic symmetric encryption example

Like any other data file you can encrypt media files using standard encryption techniques.

For starters check these links....

The Tiny Encryption Algorithm (TEA) is a fast, simple and robust block cipher designed by David Wheeler and Roger Needham. This code is released under the LGPL. The algorithm is implemented in a single class:

Need Your Help

Responsive CSS with high-res smart phones and tablets

javascript css html5 css3 responsive-design

I am having a issue when I try to make a web app responsive to screen-size.

Modifying ssh_config with augtool

linux bash puppet augeas

This is the default /etc/ssh/ssh_config, which contains #ForwardX11 no, which I would like to change, so I do

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.