Skip to content

Commit

Permalink
v1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
EndrII committed Jun 7, 2019
1 parent 11f327a commit 22a7e27
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/Qt-AES
Submodule Qt-AES updated 1 files
+1 −1 .gitignore
7 changes: 6 additions & 1 deletion src/Qt-RSA/qrsaencryption.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,12 @@ bool keyGenerator(QByteArray &pubKey,

INT p = randomPrimeNumber<INT>();
INT q = randomPrimeNumber<INT>(p);
INT modul = p * q;

INT modul = 0;
while ((modul = p * q) < 0) {
p = toPrime((p - 1) / 2);
}

INT eilor = eulerFunc(p, q);
INT e = randNumber<INT>() % eilor;

Expand Down
2 changes: 1 addition & 1 deletion src/Qt-Secret.pri
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ CONFIG(release, debug|release): {
}
unix:LIBS += -L$$Qt_SECRET_LIB_OUTPUT_DIR -lQt-Secret

win32:LIBS += -L$$Qt_SECRET_LIB_OUTPUT_DIR -lQt-Secret0
win32:LIBS += -L$$Qt_SECRET_LIB_OUTPUT_DIR -lQt-Secret1

#include($$PWD/../uint256_t/uint256.pri)

Expand Down
2 changes: 1 addition & 1 deletion src/Qt-Secret.pro
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ CONFIG(release, debug|release): {
#include($$PWD/../uint256_t/uint256.pri)


VERSION = 0.1.0
VERSION = 1.0.0

HEADERS += \
Qt-AES/qaesencryption.h \
Expand Down

0 comments on commit 22a7e27

Please sign in to comment.