|
313 | 313 | * |
314 | 314 | * \section crypto_sec Cryptographic Application |
315 | 315 | * |
316 | | - * Main feature of _Hypercomplex_ is the implementation of |
| 316 | + * The main feature of _Hypercomplex_ is an implementation of |
317 | 317 | * cryptographic operations as in <a href="https://en.wikipedia.org/wiki/NTRUEncrypt">NTRU cryptosystem</a> |
318 | 318 | * but generalized on an arbitrary-high-dimensional algebras generated with the Cayley-Dickson construction. |
319 | 319 | * The library provides additional helper class for truncated polynomials |
|
326 | 326 | * Let \f$R = \mathbb{Z}[x] / (x^N - 1)\f$ be the underlying polynomial quotient ring |
327 | 327 | * (\f$R_p, R_q\f$ are modular structures, modulo \f$p,q\f$ respectively) |
328 | 328 | * and \f$D\f$ mark the dimension of the algebra we operate in: |
329 | | - * \f$A = \{\sum^D_{i=1} x_i \cdot e_i | x_i \in R\} \f$, where |
330 | | - * all \f$e_i\f$ are basis elements (similarly for modular algebras: \f$A_p, A_q\f$). |
| 329 | + * \f$A = \{x_0 + \sum^{D-1}_{i=1} x_i \cdot e_i | x_i \in R\} \f$, where |
| 330 | + * all \f$e_i\f$ are imaginary basis elements (similarly for modular algebras: \f$A_p, A_q\f$). |
331 | 331 | * |
332 | 332 | * Mathematical derivations for these structures and their operations |
333 | 333 | * are analogous to those presented for |
|
391 | 391 | * Hypercomplex<Polynomial<MaxDeg>, dim> C = DECRYPT(F, E, p, q); |
392 | 392 | * \endcode |
393 | 393 | * |
394 | | - * Remarkably, for a cryptosystem based on algebras with 16+ dimensions |
| 394 | + * Remarkably, for a cryptosystem based on an algebra of \f$D \geq 16\f$ dimensions |
395 | 395 | * \f$F\f$ needs to contain at most one \f$ x_i \in R | x_i \neq 0\f$. |
396 | 396 | * This is because sedonions (and higher) |
397 | 397 | * are not associative, thus the decryption process will only be possible |
398 | | - * for such specific, reduced subset of private keys. |
| 398 | + * for a specific, reduced subset of private keys. |
399 | 399 | * |
400 | 400 | * Cryptographic applications of _Hypercomplex_ have been extensively tested in the |
401 | 401 | * test case: _Cryptosystem based on Cayley-Dickson Algebras_ of the |
402 | 402 | * <a href="https://github.com/AngryMaciek/hypercomplex/blob/master/.test/unit/test.cpp">following file</a>. |
403 | 403 | * |
| 404 | + * All tests underlying Figure 1 in the publication are available |
| 405 | + * <a href="https://github.com/AngryMaciek/hypercomplex/blob/master/.test/docs/test.cpp">here</a>. |
| 406 | + * |
404 | 407 | */ |
0 commit comments