imgman icon indicating copy to clipboard operation
imgman copied to clipboard

Adding Functions For Encryption and Decryption of Image

Open kailashchoudhary11 opened this issue 2 years ago • 15 comments

Add Function to Encrypt and Image which should take path of the image as an argument. Decrypt Function To Decrypt the image and it must also take the path of image!

kailashchoudhary11 avatar Oct 21 '22 16:10 kailashchoudhary11

Hey, I'm looking for an issue to contribute to, what do you mean by encrypting and decrypting an image? When will this function be called? I'm skimming through the repo, is it supposed to be a member method of the ProcessImage class in views.py?

LucasRochaAbraao avatar Oct 21 '22 21:10 LucasRochaAbraao

Hey, I'm looking for an issue to contribute to, what do you mean by encrypting and decrypting an image? When will this function be called? I'm skimming through the repo, is it supposed to be a member method of the ProcessImage class in views.py?

Hey Irocha you can add functions in the file called Helpers.py which is present in sinimg. Also you can google about encryption and decryption. Let me know if you would like to work on this

kailashchoudhary11 avatar Oct 21 '22 22:10 kailashchoudhary11

Hey @kailashchoudhary11 there is already encrypt_image and decrypt_image functions in Helpers.py file, so what exactly you want to do ?

mitanshudodia avatar Oct 22 '22 02:10 mitanshudodia

Hey @kailashchoudhary11 there is already encrypt_image and decrypt_image functions in Helpers.py file, so what exactly you want to do ?

Yep there is one But, there are many other techniques of encryption and decryption So you could implement any other

kailashchoudhary11 avatar Oct 22 '22 02:10 kailashchoudhary11

Hey @kailashchoudhary11 there is already encrypt_image and decrypt_image functions in Helpers.py file, so what exactly you want to do ?

Yep there is one But, there are many other techniques of encryption and decryption So you could implement any other

Ok assign this to me i will try to use cryptography module for encryption and decryption.

mitanshudodia avatar Oct 22 '22 05:10 mitanshudodia

@LucasRochaAbraao @mitanshudodia You'll can join discord server and we can discuss over there. Link is in the Readme File

kailashchoudhary11 avatar Oct 22 '22 05:10 kailashchoudhary11

Can i work on this issue?

bhoopesh369 avatar Oct 23 '22 03:10 bhoopesh369

@kailashchoudhary11

bhoopesh369 avatar Oct 23 '22 03:10 bhoopesh369

@kailashchoudhary11

Yep

kailashchoudhary11 avatar Oct 23 '22 03:10 kailashchoudhary11

@kailashchoudhary11

which algorithm will you be implementing?

kailashchoudhary11 avatar Oct 23 '22 03:10 kailashchoudhary11

Using pycrypto

bhoopesh369 avatar Oct 23 '22 03:10 bhoopesh369

Okay Go Ahead ! @bhoopesh369

kailashchoudhary11 avatar Oct 23 '22 03:10 kailashchoudhary11

PR #58

bhoopesh369 avatar Oct 23 '22 05:10 bhoopesh369

@kailashchoudhary11

bhoopesh369 avatar Oct 23 '22 05:10 bhoopesh369

PR #60

bhoopesh369 avatar Oct 23 '22 08:10 bhoopesh369