Blowfish Cipher Tutorials - Herong's Tutorial Examples


Book Description

This tutorial book is a collection of notes and sample codes written by the author while he was learning Blowfish cipher himself. Topics basic concepts of cipher and encryption; introduction of Blowfish cipher algorithm; 8366 Hex Digits of PI; Perl Crypt::Blowfish and Crypt::CBC, Crypt::CFB modules; OpenSSL Blowfish ciphers: bf-ecb, bf-cbc, bf-cfb, bf-ofb; PHP Mcrypt extension; Blowfish CFB-8 and OFB-8 operation modes. Updated in 2024 (Version v2.04) with minor changes. For latest updates and free sample chapters, visit https://www.herongyang.com/Blowfish.




Cryptography Tutorials - Herong's Tutorial Examples


Book 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 MD5 and SHA1 message digest algorithms and implementations, DES, Blowfish and AES secret key cipher algorithms and implementations, RSA and DSA public key encryption algorithms and implementations, Java and PHP cryptography APIs, OpenSSL, keytool and other cryptography tools, PKI certificates and Web browser supports. Updated in 2023 (Version v5.42) with minor changes. For latest updates and free sample chapters, visit https://www.herongyang.com/Cryptography.




JDK Tutorials - Herong's Tutorial Examples


Book Description

This book is a collection of tutorial notes and sample codes written by the author while he was learning JDK (Java Development Kit) core libraries himself. Topics include Time and Calendar, Internationalization, Unnamed Packages, Collections, Character Set and Encoding, Logging, XML related technologies: DOM, SAX, DTD, XSD, and XSL, Cryptography, Certificates, Key stores, Cipher and Encryption, Socket communication, SSL and HTTPS. Updated in 2024 (Version v6.32) with JDK 20. For latest updates and free sample chapters, visit https://www.herongyang.com/JDK.




EC Cryptography Tutorials - Herong's Tutorial Examples


Book Description

This EC (Elliptic Curve) cryptography tutorial book is a collection of notes and sample codes written by the author while he was learning cryptography technologies himself. Topics include rule of chord and point addition on elliptic curves; Abelian groups with additive/multiplicative notations; EC as Abelian groups; DLP (Discrete Logarithm Problem) and trapdoor function; Galois fields or finite fields with Additive/Multiplicative Abelian Group; Prime fields, binary fields, and polynomial fields; EC fields reduced with modular arithmetic; EC subgroup and base points; EC private key and public key pairs; ECDH (Elliptic Curve Diffie-Hellman) protocol; ECDSA (Elliptic Curve Digital Signature Algorithm); ECES (Elliptic Curve Encryption Scheme) protocol; Java tool/program to generate EC keys. Updated in 2024 (Version v1.03) with minor changes. For latest updates and free sample chapters, visit https://www.herongyang.com/EC-Cryptography.




Java GC Tutorials - Herong's Tutorial Examples


Book Description

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, Generational GC, Regional GC, Heap Memory Management, Young/New Generation, Tenured/Old Generation, Object Reference, Eden Space, Survivor Spaces, Minor GC, Major GC, Full GC, Performance Tuning, Throughput/Latency Performance, Heap Footprint. Updated in 2022 (Version v1.11) with JVM 17. For latest updates and free sample chapters, visit https://www.herongyang.com/Java-GC.




Android Tutorials - Herong's Tutorial Examples


Book Description

This book is a collection of notes and sample codes written by the author while he was learning Android system. Topics include Installing of Android SDK on Windows, Creating and running Android emulators, Developing First Android Application - HelloAndroid, Creating Android Project with 'android' Command, Building, Installing and Running the Debug Binary Package, Inspecting Android Application Package (APK) Files, Using Android Debug Bridge (adb) Tool, Copying files from and to Android device, Understanding Android File Systems, Using Android Java class libraries, Using 'adb logcat' Command for Debugging. Updated in 2023 (Version v3.05) with ADB tutorials. For latest updates and free sample chapters, visit https://www.herongyang.com/Android.




WSDL Tutorials - Herong's Tutorial Examples


Book Description

This book is a collection of notes and sample codes written by the author while he was learning WSDL himself. Topics include introduction to WSDL (Web Services Definition Language); WSDL document structure; 'types', 'interface', 'binding' and 'service' definition elements; differences between style='rpc' and style='document'; using WSDL document with SoapUI; parsing WSDL documents with Python, PHP, Perl, and Java programs. Updated in 2024 (Version v2.22) with Python tutorials. For latest updates and free sample chapters, visit https://www.herongyang.com/WSDL.




MySQL Tutorials - Herong's Tutorial Examples


Book Description

This MySQL tutorial book is a collection of notes and sample codes written by the author while he was learning MySQL himself, an ideal tutorial guide for beginners. Topics include introduction of Structured Query Language (SQL); installation of MySQL server on Windows, Linux, and macOS; using MySQL client program; accessing MySQL server from PHP, Java and Perl programs; SQL data types, literals, operations, expressions, and functions; Statements of Data Definition Language (DDL), Data Manipulation Language (DML), and Query Language; creating and using indexes; using window functions; stored procedures; transaction management; locks and deadlocks; InnoDB and other storage engines. Updated in 2023 (Version v4.46) with minor changes. For latest updates and free sample chapters, visit https://www.herongyang.com/MySQL.




XSL-FO Tutorials - Herong's Tutorial Examples


Book Description

This book is a collection of tutorial notes and sample codes written by the author while he was learning XSL-FO (Extensible Stylesheet Language - Formatting Objects) himself. Topics include: Introduction to XSL, XSL-FO, and Apache FOP; XSL concepts: Area Model, Inline Stacking and Block Stacking; Page layouts: simple-page-master and page-sequence-master; Page regions: region-body, region-before, region-after, region-start and region-end; Formatting objects: Block-Level and Inline-Level Objects; Adding Graphics from Files and SVG Elements; Managing DPI Resolution; Building Tables of Rows and Columns; Managing Lists of Items and Floating Blocks; Adding External and Internal Hyperlinks; Building Table of Contents; Adding Page Headers and Footers; Managing Fonts: Generic Fonts; Adobe Base-14 Fonts; Embedding Fonts; HTML with SVG and MathML to PDF conversion. Updated in 2024 (Version v2.25) with minor updates. For latest updates and free sample chapters, visit https://www.herongyang.com/XSL-FO.




XSD Tutorials - Herong's Tutorial Examples


Book Description

This book is a collection of tutorial examples and notes written by the author while he was learning XSD (XML Schema Definition). Topics include: XSD (XML Schema Definition) specification and processors; JAXP (Java API for XML Processing) API; XSD Schema XML DOM/SAX validators; Using Xerces2 Java Parser API; XSD Built-in Datatypes: string, normalizedString, token, integer, long, int, short, byte, gYear, gMonth, gDay, gYearMonth, gMonthDay, duration, yearMonthDuration, dayTimeDuration, atomic, list, union; simpleContent and complexType; unique, key and keyref identity constraints; assert and assertion validation rules; Schema Component Reuse - include, redefine or import. Updated in 2024 (Version v5.23) with minor changes. For latest updates and free sample chapters, visit https://www.herongyang.com/XSD.