Implemented RFC 4226 - HOTP: An HMAC based One-Time-Password algorithm for BlackBerry 10 running QNX 6. Uses BlackBerry Cryptographic Kernel version 5.6 (SB-GSE-56). Various things are pending and the app in the current state can be found at github called QAuthenticator. A reference implementation of the algorithm in Groovy is at hotp.groovy.
I must say, BlackBerry cryptography library is just fantastic. And Qt makes C++ fun to program after me programming in higher level languages like Clojure.
Monday, September 4, 2017
Sunday, September 3, 2017
Linking Libraries in a BlackBerry 10 Cascades Project
Usually when developing C/C++ project we specify linked libraries in a Makefile. With BlackBerry 10 Cascades project, the libraries can be added in the
Now we are ready to conquer the world!
<ProjectName>.pro
file. This file is less clouded than the Makefile and easily manageable. For example, if you are developing a crypto app, you need to link the crypto library which is huapi
. Add the below to the .pro
file.LIBS += -lhuapiElse we will get errors like
undefined reference to symbol
and error adding symbols: DSO missing from command line
.Now we are ready to conquer the world!
Subscribe to:
Posts (Atom)