File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes Voice encryption and decryption in java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Voice encryption and decryption in java" Watch "Voice encryption and decryption in java" New topic
Author

Voice encryption and decryption in java

Vassili Vladimir
Ranch Hand

Joined: Mar 08, 2007
Posts: 1585
Hi,

Is there an API that lets me do voice encryption and decryption in java ?

What i want to do is simply, select a given voice file, encrypt it and then decrypt it back to its original state ?

Thanks in advance ...


Vassili ...
SCJP 5.0, SCWCD 1.4, SCJA 1.0
Nicholas Jordan
Ranch Hand

Joined: Sep 17, 2006
Posts: 1282
That is achievable. Post in Security, there are too many issues that do not work well in general fora when doing eicipherment and decipherment. Provide any additional details that are known and as well:
  • Is this a student project or is there any actual value to be protected.
  • How strong of encipherment do you actually need.
  • Is there a way to ensure the keys will not be lost or do we need a mechanisim that can be broken with sufficient effort.

  • Of course, by asking for details do not in any way reveal anything about the actual data or where the application would be used except in a generalized, concocted setting - and then only to model the security challenges.

    If this is just for fun, say so.


    "The differential equations that describe dynamic interactions of power generators are similar to that of the gravitational interplay among celestial bodies, which is chaotic in nature."
    Vassili Vladimir
    Ranch Hand

    Joined: Mar 08, 2007
    Posts: 1585
    It's a student project, any help ?

    Thanks ...
    Henry Wong
    author
    Sheriff

    Joined: Sep 28, 2004
    Posts: 18896
        
      40

    The standard JCE API in the javax.cypto package should be able to encrypt and decrypt what you have. It is designed to encrypt/decrypt binary data, so should handle voice data. It is designed to encrypt/decrypt buffers, so you will have to read and write the files.

    And if you have Java 1.4 or later, it should be part of the Java core.

    Henry


    Books: Java Threads, 3rd Edition, Jini in a Nutshell, and Java Gems (contributor)
     
    I agree. Here's the link: http://aspose.com/file-tools
     
    subject: Voice encryption and decryption in java