Преглед на файлове

Documenting breifly what's the Wiener Attack about.

Enounce Wiener's theorem, more or less how it's written on twnty years; using
doxyigen style.
Michele Orrù преди 11 години
родител
ревизия
025891043f
променени са 1 файла, в които са добавени 7 реда и са изтрити 0 реда
  1. 7 0
      src/questions/wiener.c

+ 7 - 0
src/questions/wiener.c

@@ -1,5 +1,12 @@
 /**
  * \file wiener.c
+ * \brief An implementation of Wiener's Attack using bignums.
+ *
+ * Wiener's atttack states that:
+ * given N = pq the public modulus, the couple e, d . ed ≡ 1 (mod φ(N))
+ * respectively the private and public exponent,
+ * given p < q < 2p and d < ⅓ ⁴√N,
+ * one can efficently recover d knowing only <N, e>.
  *
  */
 #include <math.h>