diff options
Diffstat (limited to 'SQLiteStudio3/coreSQLiteStudio/rsa')
| -rw-r--r-- | SQLiteStudio3/coreSQLiteStudio/rsa/BigInt.h | 3 | ||||
| -rw-r--r-- | SQLiteStudio3/coreSQLiteStudio/rsa/Key.h | 3 | ||||
| -rw-r--r-- | SQLiteStudio3/coreSQLiteStudio/rsa/KeyPair.h | 3 | ||||
| -rw-r--r-- | SQLiteStudio3/coreSQLiteStudio/rsa/PrimeGenerator.h | 3 |
4 files changed, 8 insertions, 4 deletions
diff --git a/SQLiteStudio3/coreSQLiteStudio/rsa/BigInt.h b/SQLiteStudio3/coreSQLiteStudio/rsa/BigInt.h index c78dc11..6d59c7a 100644 --- a/SQLiteStudio3/coreSQLiteStudio/rsa/BigInt.h +++ b/SQLiteStudio3/coreSQLiteStudio/rsa/BigInt.h @@ -110,11 +110,12 @@ #ifndef BIGINT_H_
#define BIGINT_H_
+#include "coreSQLiteStudio_global.h"
#include <iostream> //ostream, istream
#include <cmath> //sqrt()
#include <string> //ToString(), BigInt(std::string)
-class BigInt
+class API_EXPORT BigInt
{
private:
/* An array of digits stored right to left,
diff --git a/SQLiteStudio3/coreSQLiteStudio/rsa/Key.h b/SQLiteStudio3/coreSQLiteStudio/rsa/Key.h index b193e2c..f1d2ee6 100644 --- a/SQLiteStudio3/coreSQLiteStudio/rsa/Key.h +++ b/SQLiteStudio3/coreSQLiteStudio/rsa/Key.h @@ -34,9 +34,10 @@ #define KEY_H_ #include "BigInt.h" +#include "coreSQLiteStudio_global.h" #include <iostream> -class Key +class API_EXPORT Key { private: BigInt modulus; diff --git a/SQLiteStudio3/coreSQLiteStudio/rsa/KeyPair.h b/SQLiteStudio3/coreSQLiteStudio/rsa/KeyPair.h index 929ffe9..153195a 100644 --- a/SQLiteStudio3/coreSQLiteStudio/rsa/KeyPair.h +++ b/SQLiteStudio3/coreSQLiteStudio/rsa/KeyPair.h @@ -32,10 +32,11 @@ #ifndef KEYPAIR_H_ #define KEYPAIR_H_ +#include "coreSQLiteStudio_global.h" #include "Key.h" #include <iostream> -class KeyPair +class API_EXPORT KeyPair { private: const Key privateKey; diff --git a/SQLiteStudio3/coreSQLiteStudio/rsa/PrimeGenerator.h b/SQLiteStudio3/coreSQLiteStudio/rsa/PrimeGenerator.h index 8a9dfac..64ee9f6 100644 --- a/SQLiteStudio3/coreSQLiteStudio/rsa/PrimeGenerator.h +++ b/SQLiteStudio3/coreSQLiteStudio/rsa/PrimeGenerator.h @@ -30,9 +30,10 @@ #ifndef PRIMEGENERATOR_H_ #define PRIMEGENERATOR_H_ +#include "coreSQLiteStudio_global.h" #include "BigInt.h" -class PrimeGenerator +class API_EXPORT PrimeGenerator { private: /* Generates a random "number" such as 1 <= "number" < "top". |
