Ask Your Question

It is possible to encrypt and decrypt a secret text using openCV

asked 2017-12-04 04:46:44 -0500

gowtham gravatar image

I am new to openCV. My concept based on hiding a secret text data in a texture image which is differ from ordinary cover image. whether this concept possible in openCV. If possible means anyone explain methods (or) flow for the project.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2017-12-04 05:06:37 -0500

LBerger gravatar image
edit flag offensive delete link more


Simply hiding the plaintext in, say, the pixels' lower-end bits is not very secure. You should encrypt the plaintext using RSA or something beforehand. Make sure to salt the plaintext with (pseudo-)random bytes before encryption occurs, and use large primes (on the order of hundreds of digits), to make sure that the ciphertext is truly secure.

I have a C++ RSA code at:

If you need help let me know.

sjhalayka gravatar imagesjhalayka ( 2017-12-04 10:15:05 -0500 )edit

Is it possible to encrypt plain text using Rc4. And how we can form texture image from texture image samples using image quiliting

gowtham gravatar imagegowtham ( 2017-12-04 21:50:41 -0500 )edit

Really you should learn how to use google :

LBerger gravatar imageLBerger ( 2017-12-05 02:08:14 -0500 )edit

Don't use RC4 -- the wikipedia page explains that it's not secure.

sjhalayka gravatar imagesjhalayka ( 2017-12-05 14:09:53 -0500 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2017-12-04 04:46:44 -0500

Seen: 2,556 times

Last updated: Dec 04 '17