C#中的音频加密和解密. [英] Audio Encryption and Decryption In C#.

查看:238
本文介绍了C#中的音频加密和解密.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我想使用C#播放音频文件.我该如何实现.如何使用C#加密和解密音频文件.

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#.

推荐答案

加密算法并不关心要加密或解密的数据的特定内容.它们都使用字节数组,没有别的,因此可以用相同的方式处理任何文件.问题是:通过加密,您可能会说几件非常不同的事情.您需要了解您的真正需求.所以,首先学习这个主题.

在.NET方面,从这里开始:
http://msdn.microsoft.com/en-us/library/system.security. cryptography.aspx [^ ],
http://msdn.microsoft.com/en-us/library/92f9ye3s.aspx [ ^ ].

有关加密的一般知识,请参见:
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 [
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


这篇关于C#中的音频加密和解密.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆