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: