如何加密&使用c ++解密图像? [英] How to encrypt & decrypt an image using c++ ?

查看:74
本文介绍了如何加密&使用c ++解密图像?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想加密图像以及如何使用c ++从加密图像中获取原始图像?



请帮忙。



谢谢,等待回复。

解决方案

你知道,一个图像文件只是一堆字节,它没什么特别的尊重密码学。简单的路径是使用一个具有您最喜欢的(或者只是一个健壮)算法的加密/解密功能的库。

周围有许多可能的候选库,例如,看看,例如,在 OpenSSL [ ^ ]。

I want to encrypt an image and also how to get the original image from encrypted image, using c++?

please help.

Thanks, awaiting for response.

解决方案

You know, an image file is just a bunch of bytes, it has nothing special with respect cryptography. The easy path would be using a library having the crypt/decrypt functionality of your favourite (or a just a 'robust') algorithm.
There are many possible candidate libraries around, have a look, for instance, at OpenSSL[^].


这篇关于如何加密&使用c ++解密图像?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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