Bachelors_Thesis_Code/general_library.hpp
2021-11-14 14:35:05 +01:00

18 lines
416 B
C++

#ifndef GENERAL_LIBRARY_H
#define GENERAL_LIBRARY_H
#include <stdlib.h>
#include <stdint.h>
#include <stdexcept>
#include <vector>
#include <bitset>
#include <iostream>
uint32_t multiplicative_inverse(int a, int n);
int len_of_shortest_period(const char * pattern, int m);
// SECTION: Functions related to calculating with polynomials in Z2[x]
uint32_t get_random_irreducible_polynomial_in_Z2 (size_t k);
#endif