XML Tutorials - Herong's Tutorial Examples
This free XML tutorial book is a collection of notes and sample codes written by the author while he was learning XML himself, an ideal tutorial guide for beginners. Topics include DOM, DTD, J2SDK, Java, SAX, Syntax, Templates, XML, XPath, XSD, XSL, XSLT, XSL-FO. 2017-08-05, 3534👍, 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, 1998👍, 3💬
Steps of Using DES Algorithm in JDK JCE
This section describes how to use DES algorithm provided in the JDK JCE package. Steps include building a secret key object from key material; creating and initializing a cipher object. 2016-01-24, 537👍, 1💬
What Is SHA1 Message Digest Algorithm?
This section describes what is SHA1 (Secure Hash Algorithm 1) - a message digest algorithm which takes as input a message of arbitrary length and produces as output a 160-bit 'fingerprint'. 2016-01-18, 3738👍, 4💬
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, 1975👍, 2💬
Introduction to AES (Advanced Encryption Standard)
Tutorial notes and example codes on AES algorithms. Topics include introduction of AES (Advanced Encryption Standard); AES encryption algorithm; AES key schedule (round keys) algorithm and illustration example; MixColumns procedure algorithm; AES decryption algorithms. 2015-11-27, 232👍, 1💬
What is OFB (Output FeedBack) Operation Mode?
This section describes what is OFB (Output FeedBack) Operation Mode - each plaintext block is XORed with the current output block to be the ciphertext block. The current output block is the encrypted version of the previous output block. 2015-11-13, 1064👍, 2💬
Converting Secret Keys to and from Byte Arrays
This section provides a quick introduction of the SecretKeySpec class and the KeySpec interface. They can be used to convert secret keys into byte arrays to store them in external files. 2015-11-03, 4323👍, 1💬
DES Key Schedule Algorithm Illustration Program Output
This section provides the execution output of the tutorial Java program, DESSubkeysTest.java, to illustrate how DES key schedule algorithm works. 2015-08-09, 1381👍, 1💬
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. email@example.com 2015-07-23, 1291👍, 1💬
This section provides a tutorial example on how to install OpenSSL on a Windows system.
This section provides a tutorial example on how to a simple Java Swing program. SwingHello.java is m...
This section describes how to connect to a SQL Server 2005 through DSN with JDBC-ODBC Bridge.
This section provides a tutorial example on how to export certificates in DER and PEM format using t...
This section provides a tutorial example on how to write a HTTPS server test program, HttpsHello.jav...