**Cryptography Tutorials - Herong's Tutorial Examples** - Version 5.35, by Dr. Herong Yang

About This Book

This section provides some detailed information about this book - Cryptography Tutorials - Herong's Tutorial Examples.

**Website URL: **http://www.herongyang.com/Cryptography

**Title:** Cryptography Tutorials - Herong's Tutorial Examples

**Author:** Dr. Herong Yang

**Category:** Cryptography/Tutorial

**Version/Edition:** Version 5.35, 2018

**Number of pages in PDF format:** 337

**Short description:**
This cryptography tutorial book is a collection of notes and sample codes written by the author while he was learning cryptography technologies himself. Topics include AES, blowfish, certificate, cipher, decryption, DES, digest, encryption, keytool, MD5, OpenSSL, PEM, PKCS#8, PKCS#12, private key, public key, RSA, secret key, SHA1, SSL, X.509.

**Long description:**
This cryptography tutorial book is a collection of notes and sample codes written by the author while he was learning cryptography technologies himself.
Topics include AES, blowfish, CA, certificate, certification path, cipher, CSR, decryption, DER, DES, digest, encryption,
Java, JCE, JDK, keytool, MD5, message, OpenSSL, PEM, PKCS#8, PKCS#12, private key, public key, RSA, secret key, self-signed certificate, SHA1, SSL, X.509.
Key sections are:
Basic Concepts - Cipher -
- AES Algorithm
- DES Algorithm Illustrated with Java Programs and Java Implementation
- JDK/JCE - Cipher for Encryption and Decryption - Cipher - Blowfish Algorithm - 8366 Hex Digits of PI
- Message Digest - MD5 Algorithm Overview
- MD5 Implementation in Java, PHP, PerlMD
- Message Digest - SHA1 Algorithm Overview
- SHA1 Implementation in Java, PHP, Perl
- RSA public key encryption algorithm and Java implementation
- DSA (Digital Signature Algorithm) and Java implementation
- What is OpenSSL? - Installing OpenSSL on Windows - Generating RSA Key Pairs
- Viewing Components of RSA Keys - Encrypting RSA Keys - What is a certificate?
- Generating Self-Signed Certificates - Viewing Components of Certificates - Why Certificates Need to Be Signed by CAs?
- Generating a Certificate Signing Request for Your Own Public Key - Viewing Components of Certificate Signing Request
- Signing a Certificate Signing Request
- keytool and Java keystore files
- Certification Path Validation - Using Certificates in Web Browsers.
- Certificate Format X.509, DER and PEM
- Private Key Format PKCS#8
- Private Key and Certificate File Format PKCS#12

**Keywords:**
Cryptography, Encryption, Tutorial, Example, Code, Free, Book.

**Cost/Price:** Free

**Viewing statistics:**

This book has been viewed a total of:

- 3,562,281 times as of December 2017.
- 3,270,508 times as of December 2016.
- 2,668,481 times as of December 2015.
- 1,974,178 times as of December 2014.
- 1,476,164 times as of December 2013.
- 1,191,405 times as of December 2012.
- 936,329 times as of December 2011.
- 687,681 times as of December 2010.
- 417,742 times as of December 2009.
- 237,675 times as of December 2008.
- 190,670 times as of December 2007.

**Revision history:**

- Version 5.34, 2017. Minor corrections.
- Version 5.30, 2015. Added more tutorials on AES algorithms.
- Version 5.20, 2013. Added more tutorials on RSA and DSA algorithms.
- Version 5.00, 2009. Updated and formatted in hyPub format.
- Version 4.00, 2007. Added more tutorials OpenSSL and keytool.

**Copyright:**

- This book is under Copyright © 2018 by Dr. Herong Yang. All rights reserved.
- Material in this book may not be published, broadcasted, rewritten or redistributed in any form.
- The example codes is provided as-is, with no warranty of any kind.

Table of Contents

Introduction to AES (Advanced Encryption Standard)

DES Algorithm - Illustrated with Java Programs

DES Algorithm Java Implementation

DES Algorithm - Java Implementation in JDK JCE

DES Encryption Operation Modes

PHP Implementation of DES - mcrypt

Blowfish - 8-Byte Block Cipher

Secret Key Generation and Management

Cipher - Secret Key Encryption and Decryption

RSA Implementation using java.math.BigInteger Class

Introduction of DSA (Digital Signature Algorithm)

Java Default Implementation of DSA

Private key and Public Key Pair Generation

PKCS#8/X.509 Private/Public Encoding Standards

Cipher - Public Key Encryption and Decryption

OpenSSL Introduction and Installation

OpenSSL Generating and Managing RSA Keys

OpenSSL Generating and Signing CSR

OpenSSL Validating Certificate Path

"keytool" and "keystore" from JDK

"OpenSSL" Signing CSR Generated by "keytool"

Migrating Keys from "keystore" to "OpenSSL" Key Files

Certificate X.509 Standard and DER/PEM Formats

Migrating Keys from "OpenSSL" Key Files to "keystore"

Using Certificates in IE (Internet Explorer)