Click here to Skip to main content
15,888,208 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
Hi,

I want to play an audio file using C#. How can I achieve it. How to encrypt and decrypt an audio file using C#.
Posted
Comments
Sergey Alexandrovich Kryukov 12-Apr-12 2:45am    
Enctyption/decription is too general. Any requirements? I'm not sure you know them. First you need to know what cryptography can do in principle...
--SA

1 solution

Encryption algorithms do not care about particular content of the data to be encrypted or decrypted. They all work with arrays of bytes, nothing else, so any file can be processed in the same way. The problem is: by encryption, you might mean few very different things. You need to understand what you really need. So, first learn the subject.

On the .NET side, start here:
http://msdn.microsoft.com/en-us/library/system.security.cryptography.aspx[^],
http://msdn.microsoft.com/en-us/library/92f9ye3s.aspx[^].

For general understanding of encryption, please see:
http://en.wikipedia.org/wiki/Encryption[^],
http://en.wikipedia.org/wiki/Cryptography[^],
http://en.wikipedia.org/wiki/Outline_of_cryptography[^],
http://en.wikipedia.org/wiki/Public-key_cryptography[^],
http://en.wikipedia.org/wiki/Symmetric_cryptography[^].

—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900