jaulib v1.3.6
Jau Support Library (C++, Java, ..)
Loading...
Searching...
No Matches
test_big_int02.hpp File Reference
#include <iostream>
#include <jau/test/catch2_ext.hpp>
#include <jau/int_types.hpp>
#include <jau/mp/big_int.hpp>
Include dependency graph for test_big_int02.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

static BigInt eval_e (BigInt e, const BigInt &phi)
 Returns e with 1 < e < Φ(n)
 
static BigInt phi (const BigInt &P, const BigInt &Q)
 
 TEST_CASE ("MP Big Encryption Test 00", "[big_int_t][arithmetic][math]")
 

Function Documentation

◆ phi()

static BigInt phi ( const BigInt & P,
const BigInt & Q )
static

Definition at line 35 of file test_big_int02.hpp.

Here is the caller graph for this function:

◆ eval_e()

static BigInt eval_e ( BigInt e,
const BigInt & phi )
static

Returns e with 1 < e < Φ(n)

e must be co-prime to phi and smaller than phi

Definition at line 44 of file test_big_int02.hpp.

Here is the caller graph for this function:

◆ TEST_CASE()

TEST_CASE ( "MP Big Encryption Test 00" ,
"" [big_int_t][arithmetic][math] )

Definition at line 52 of file test_big_int02.hpp.