项目作者: victor-armegioiu

项目描述 :
Elgamal encrypted text hidden within pixels of images
高级语言: Python
项目地址: git://github.com/victor-armegioiu/ElGamal-Encrypted-Text-Hidden-via-Steganography.git


ElGamal-Encrypted-Text-Hidden-via-Steganography

The purpose of this project consists of two subgoals : implementing the ElGamal encryption without using any preexisting number theory modules or libraries and embedding the cipher text created by the aforementioned method within the pixels of an image. The plaintext is easily recovered by extracting the ciphertext from the pixel encoding and using the decryption method provided in the ‘elgamal’ module.

The ‘ntheory_utilities’ module covers the implementation of several functions:

  • logarithmic modular exponentiation
  • the computation of the Jacobi symbol
  • finding the primitive root of a cyclic multiplicative group (modulo a prime of the form 2 * q + 1 where q is a prime as well)
  • fast computation of U{n + 1} and V{n + 1} (coefficients of the Lucas sequence)
  • encoding and decoding plaintext messages into bytes

TODO : other modules and steganography part