728x90

El-Gamal.zip


일단 해당 프로젝트에는 문제가 좀 있다. 주어진 h' 은 소수인데다가 그에 맞는 X'a  를 구하라니.... X'a = Xa mod q 값이라고 하는데,

문제에서의 Xa 값은 log 정리에 의할경우 g의 Xa 승 = h 로 기반이 되는데...



로그 3의 ....... 하면

39.99 가 나온다.... Secret Key 로 근사값을 사용하는가...?


모순 덩어리인 문제이다.

'ENCRYPTION' 카테고리의 다른 글

machine epsilon  (0) 2018.12.05
C round-off problem  (0) 2018.12.05
Memory Leak And Memory maintenance  (0) 2018.12.03
Sieve of Eratosthenes  (0) 2018.12.03
C Program to Implement Sieve of eratosthenes to Generate Prime Numbers Between Given Range  (0) 2018.12.03

+ Recent posts