你如何使用流密码加密图像....我需要代码...请帮助.. [英] how do you encrypt an image using stream cipher....i need the code for that.....please help..

查看:180
本文介绍了你如何使用流密码加密图像....我需要代码...请帮助..的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

伙计我需要使用流密码对图像进行加密和解密....如何做到这一点..为它提供代码..

解决方案

看看如何 Google [ ^ ]响应您的查询。如果你浏览链接,你可以找到很多答案。



一个CodeProject文章 - [< a href =http://www.codeproject.com/Articles/7546/A-CBC-Stream-Cipher-in-C-With-wrappers-for-two-opetarget =_ blanktitle =New Window > ^ ]



如果您遇到任何具体问题,请尝试一下并回来问问题。


< blockquote>我相信你可以把你的图像转换成字节数组。

一旦你能做到这一点,你可以用这个继续加密:

C# AES 256位加盐库加盐 [ ^ ]

本文介绍如何加密字节数组。


Guys i need to encrypt and decrypt image using stream cipher....how to do that..provide the code for it..

解决方案

Look how Google[^] responds to your query. You can find many answers if you go through the links.

One CodeProject Article - A CBC Stream Cipher in C# (With wrappers for two open source AES implementations in C# and C)[^]

Please try something and come back, ask a question if you face any specific problem.


I believe you can convert your image into byte array.
Once you can do this, you can continue the encryption with this:
C# AES 256 bits Encryption Library with Salt[^]
This article shows how to encrypt byte array.


这篇关于你如何使用流密码加密图像....我需要代码...请帮助..的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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