How to generate MODULUS for RSA using openssl?
If you use openssl RSA API to encrypt/decrypt/sign/verify, you will need a MODULUS, which is part of a RSA public key. To generate a MODULUS, first you need to generate […]
If you use openssl RSA API to encrypt/decrypt/sign/verify, you will need a MODULUS, which is part of a RSA public key. To generate a MODULUS, first you need to generate […]
The examples of declaration in C++: int i; int i=0; extern int i; int fun(); int fun(){ return 1;} class A; class A { int a; void fun(); }; The […]
In C++, protected members cannot be accessed outside the class and its derived classes using obj.membername #include <QtCore> //#include “windows.h” //#include <QApplication> class A { public: void fun() { qDebug()<<“a”; […]
When talking about public,private, and protected in C++, two words must pop up in your head:accessibility and visibility. Unfortunately, the two academic words are just created to confuse learners as […]
A common compiling command is as follows: g++ a.cpp b.cpp -o app.exe -I include1dir -I include2dir -l libray1.a -l libray2.a -L libdir1 -L libdir2 The application is compiled out of […]
You may often hear the sentence: a file is UTF-8 encoded. Occasionally, you may want to check if a file is UFT-8 encoded or not. In a UTF-8 encoded text […]
I downloaded an open source Qt project which uses Botan library. Specifically, the project includes Botan header files in its source files such as: include <botan/pipe.h> And the project links […]
We have learned how to simulate a mouse click using the SendMessage function. In fact, there are quite a few methods you can use to simulate mouse events. SendInput is […]
If you want to simulate a mouse click programatically, you must know the SendMessage function. To make your simulator work, you should understand the function well. First, the name is […]
You may see those guru programmers often use static_cast and dynamic_cast which are mysterious to you because you only use the implicit cast or C style explicit cast. So what […]