我怀疑加密文件内容 [英] i have doubt in encryption a file contents

查看:104
本文介绍了我怀疑加密文件内容的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨朋友们......

i怀疑我可以加密一个字符串...

但我不知道如何执行加密文件内容...

是否可以加密整个文件内容...

没有解密任何人都看不到原始内容...

hi friends...
i have doubt that i can encrypt a string...
but i dont know how to perform to encrypt the file contents...
is it possible to encrypt the whole file contents...
with out decryption any one can't see the original contents...

推荐答案

许多建议的解决方案这里 [ ^ ]。
Lots of suggested solutions here[^].


有很多方法可以做到这一点:SQL支持加密 - 这里有一个例子:< a href =http://msdn.microsoft.com/en-us/library/ms179331.aspx> http://msdn.microsoft.com/en-us/library/ms179331.aspx [< a href =http://msdn.microsoft.com/en-us/library/ms179331.aspxtarget =_ blanktitle =New Window> ^ ]



但我会机智的h使用.NET Cryptography命名空间在C#中对其进行加密[ ^ ]。这里有一个例子,使用DES加密: http://msdn.microsoft。 com / en-us / library / system.security.cryptography.descryptoserviceprovider.aspx [ ^ ]
There are a number of ways to do this: SQL supports encryption - there is an example here: http://msdn.microsoft.com/en-us/library/ms179331.aspx[^]

But I would go with encrypting it in C# using the .NET Cryptography namespace[^]. There is an example here, using DES encryption: http://msdn.microsoft.com/en-us/library/system.security.cryptography.descryptoserviceprovider.aspx[^]


这篇关于我怀疑加密文件内容的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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