Java GC Tutorials - Herong's Tutorial Examples
This book is a collection of tutorial notes and sample codes written by the author while he was learning JVM GC (Garbage Collection) processes. Topics include Java Garbage Collectors, STW (Stop-The-World), Serial Collector, Parallel Collector, Concurrent Collector, G1 Collector, GC Algorithms, Gener... 2018-06-17, 371👍, 1💬
Ethereum Tutorials - Herong's Tutorial Notes
This free book is a collection of tutorials and notes on Ethereum and blockchain. Topics include Blockchain, Ethereum, Cryptocurrency, Mining, MetaMask, Wallet. 2018-05-11, 515👍, 2💬
android.webkit.WebView - Web Browser Base Class
This section provides a tutorial example on how to create an Android project to build your own Web browser using the android.webkit.WebView class. The first version failed with 'Webpage not available' error. 2015-08-05, 2549👍, 2💬
RSA Implementation using java.math.BigInteger Class
This chapter provides tutorial notes and example codes on RSA implementation using Java BigInteger class. Topics include introduction of the java.math.BigInteger class; generating large probable prime numbers; generating RSA public key and private key; validating RSA keys; determining cleartext and ... 2016-02-29, 2525👍, 3💬
Illustration of DSA Algorithm: p,q=7,3
This section provides a tutorial example to illustrate how DSA digital signature algorithm works with small prime modulus p=7 and prime divisor q=3. 2018-04-24, 2482👍, 5💬
"Unexpected subelement ..." Error from the Stub Class
This section provides a tutorial example on how to troubleshoot and resolve the 'Unexpected subelement ...' error occurred in the stub class. The root cause of the error is the namespace on sub elements of the response SOAP Body does not match what defined in the WSDL document. 2015-10-10, 2456👍, 5💬
'native2ascii' - Native-to-ASCII Encoding Converter
This chapter provides tutorial notes on the native-to-ASCII encoding converter 'native2ascii'. Topics include 'native2ascii' command options, default encoding CP1252 used by 'javac', converting UTF-8 characters into \udddd Unicode code sequences, converting \udddd sequences back to native encodings. 2018-10-19, 2445👍, 23💬
Introduction of DSA (Digital Signature Algorithm)
This chapter provides tutorial notes and example codes on DSA (Digital Signature Algorithm). Topics include introduction of DSA; illustration of DSA key generation, message signing and signature verification; proof of Digital Signature Algorithm. 2018-04-07, 2427👍, 11💬
showInternal*Dialog() - Displaying Internal Dialog Boxes
This section provides a tutorial example on how to use the static methods, showInternal*Dialog(), to create and display internal dialog boxes inside an parent container. 2016-07-19, 2420👍, 3💬
How JSP Pages Are Processed?
This section describes how JSP pages are processed by the Web server. Two key steps are involved: 1) compilation of the JSP page into a Java Servlet class; 2) execution of the compiled class. 2017-01-04, 2411👍, 2💬
What is ECB (Electronic CodeBook) Operation Mode?
This section describes what is ECB (Electronic CodeBook) Operation Mode - each plaintext block is encrypted independently without any input from other blocks. 2016-01-10, 2387👍, 2💬
Subkeys of 3DES Encryption
Hi Doc, I have subkeys recovered through DPA. Can 3DES.c be modified to accept these subkeys as inputs for a cryptographic operation? Alternatively, can the main 3DES key be reverse generated from the subkeys? Thanks. firstname.lastname@example.org 2015-07-23, 2322👍, 1💬
How come the Chinese calendar seems off by one day?
http://herongyang.com/2016/ - the printable calendar seems off by one day for the 2nd lunar month in 2016. Should start on March 9th, but yours starts on March 8th? Which version is giving the wrong date? I have checked all printable versions and they all show that the 2nd lunar month starts on Marc... 2016-03-10, 2314👍, 0💬
DES Algorithm - Illustrated with Java Programs
This chapter provides tutorial examples and notes about DES algorithm illustrated with Java programs. Topics include Java illustration program of DES key schedule algorithm and DES encryption algorithm. 2017-04-16, 2295👍, 5💬
Examples of Unicode Characters
This chapter provides notes and tutorial examples on the Unicode character set. Topics including introduction of Unicode standard, example characters, history of releases, blocks of code points. 2017-01-20, 2280👍, 5💬
Example Java Class Converted from a JSP Page
This section provides a tutorial example Java class converted by Tomcat 7 from the JSP page, Hello_Scripting.jsp. Scripting elements included in the JSP page are converted correctly. 2016-01-14, 2268👍, 1💬
This section provides a tutorial example on how to download and install JDK 1.8.0 (Java SE 8), which...
This section provides a quick description of the Services Console and a tutorial example on how to l...
This section provides a tutorial example on how to run Perl scripts on Linux systems. To make a Perl...
This section describes how to insert new data rows into MS Access database through the JDBC-ODBC dri...
This section provides a tutorial example on how to use SHA1 message digest algorithm in Java. The JD...