Summary Recently download the JCIDE and OpenEMV and tested by APDU script, with successful result, this OpenEMV Java applet has the basic concept of the EMV applet, can give you an idea how does EMV applet works.
Summary Two tricks about multi-thread Controlling function must be global or static Multithreading must be enabled by the application Example AfxBeginThread function Code Example Reference Summary Create a separate thread as the worker thread, which can process time consuming task like printing, computation, etc., here I am using the new thread to process the interactive with the smart card, this mechanism can enable the application to response to user’s other action (requests to user interface), such as move the window, drag the scroll bar, etc.
Summary Different Methods to Compute Bitwise Parity Template Methods to Compute Bitwise Parity Interesting Bitwise XOR to Swapping without temp Reference Summary Bitwise parity is widely used in different purposes, recently came across the ICAO MRTD(Machine Readable Travel Documents) parity usage on calculate the DES and MAC derivation key.
Summary Read line by line to Vector Function to remove the white space Regular Expressions to remove comments Header and namespace usage Process Result Reference Summary Read out a text file line by line in C++ into string Vector, and process it accordingly, by using string process function, and regular expressions, after the processing, removed the white space, tab space, empty line, comments etc.
Summary C convert from string to LPCWSTR C convert from LPCWSTR to string Reference Summary Encountered problem in convert from string to CString (LPCWSTR), and the reverse convert, find out the way to convert between these two types and tested in Visual Studio with successful result.
Summary Memory leaks RichEdit20 Access violation Reference Link Summary When develop on a Windows application, solved memory leaks issue on RichEdit2.0, and pointer access violation exception.
Explained the way to compute the RSA encryption and decryption in C sharp program, and also the way to calculate of the private key provided you know the public key, P and Q by using the extended Euclidean algorithm, reference to the Python implementation of RSA.
Used to process simple DB in Windows by using Python, C++ and C# before, the DB was Microsoft Access and SQLite.
Created the Oracle EE on the AWS RDS, tried different methods to connect the created AWS RDS through internet.
In the blog entry of “Cashcard transaction history read software”, I have developed an software to read out the transaction history log, however when I created an install package and installed on another computer which has the OS Windows 7 32 bits, encountered error “CLR20r3”, the application cannot start at all.