EC Cryptography Tutorials - Herong's Tutorial Examples
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 and multiplicative notations; ... 2019-01-01, 273👍, 1💬
Illustration of DSA Algorithm: p,q=23,11
This section provides a tutorial example to illustrate how DSA digital signature algorithm works with small prime modulus p=23 and prime divisor q=11. 2019-03-25, 111👍, 1💬
java.security.KeyFactory - Reading Encoded Keys
This section describes the java.security.KeyFactory class, which allows you to convert key spec objects back to key objects. Full process of reading and converting encoded key files back to key objects are also provided. 2019-03-23, 123👍, 2💬
Example Vector of AES Encryption
An example vector of AES-128 encryption is presented. Round keys and state values of all 11 rounds are included to help users to verify their AES implementation. 2019-02-24, 158👍, 1💬
"keytool" Exporting Certificates in DER and PEM
This section provides a tutorial example on how to export certificates in DER and PEM format using the 'keytool -exportcert' command. 2019-02-20, 22219👍, 5💬
SHA1 Message Digest Algorithm Overview
This section describes the SHA1 algorithm - a 6-step process of padding of '1000...', appending message length, preparing 80 process functions, preparing 80 constants, preparing 5 word buffers, processing input in 512 blocks. 2018-12-28, 11307👍, 7💬
PHP Implementation of DES - mcrypt
This chapter provides tutorial examples and notes about PHP implementation of DES. Topics include introduction of mcrypt library; mcrypt encryption functions; DES encryption and decryption test program and test result. 2018-12-22, 1633👍, 4💬
DES Algorithm Java Implementation
This chapter provides tutorial examples and notes about DES algorithm implementation in Java language. Topics include an example Java implementation of DES encryption and decryption algorithm; test cases of single block cleartext and ciphertext. 2018-12-13, 6392👍, 16💬
Using SHA1 Message Digest in Java
This section provides a tutorial example on how to use SHA1 message digest algorithm in Java. The JDK JCE package offers the SHA1 algorithm through a generic message digest class, javax.security.MessageDigest. 2018-12-04, 14901👍, 11💬
Outdated: Visiting an "https" Web Site with Firefox 3
This section describes how Firefox 3 shows a lock icon when you visit an 'https' Web site to provide you more security related information. 2018-11-10, 123👍, 2💬
What Is DER (Distinguished Encoding Rules) Encoding?
This section describes the DER (Distinguished Encoding Rules) - A binary format of encoding a data value of any data types including nested data structures. 2018-10-29, 8036👍, 4💬
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. 2018-10-20, 6407👍, 3💬
Introduction to DES Algorithm
This chapter provides tutorial examples and notes about DES (Data Encryption Standard) algorithm. Topics include description of block cipher, DES encryption algorithm, Round Keys Generation, DES decryption algorithm. 2018-10-18, 390👍, 4💬
What Is DSA (Digital Signature Algorithm)?
This section describes the DSA (Digital Signature Algorithm) algorithm, which consists of 2 parts: generation of a pair of public key and private key; generation and verification of digital signature. 2018-08-29, 24285👍, 15💬
DESSubkeysTest.java - DES Key Schedule Algorithm Illustration
This section provides a tutorial Java program, DESSubkeysTest.java, to illustrate how DES key schedule algorithm works. 2018-07-20, 555👍, 2💬
"OpenSSL" Signing CSR Generated by "keytool"
This chapter provides tutorial notes and example codes on using 'OpenSSL' to act as CA (Certificate Authority). Topics include setting up 'OpenSSL' as CA; using 'keytool' to generate CA private key; using 'keytool' to generate CSR (Certificate Signing Request); using 'OpenSSL' to sign CSR, using 'ke... 2018-07-12, 144👍, 1💬
"openssl pkcs12" Merging Key with Certificate
This section provides a tutorial example on how to merge a private key and its self-signed certificate into a single PKCS#12 file, with can be then encoded as PEM and encrypted with DES. 2018-07-07, 146👍, 1💬
"keytool" Importing Certificates in DER and PEM
This section provides a tutorial example on how to use 'keytool' to import certificates in DER and PEM formats generated by 'OpenSSL' into 'keystore' files. 2018-06-28, 13766👍, 2💬
64-bit RSA Key Validated by RsaKeyValidator.java
This section provides a tutorial example on how a 64-bit RSA key is validated by RsaKeyValidator.java with 3 rounds of encryption and decryption tests. 2018-06-09, 284👍, 2💬
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, 2727👍, 5💬
This section provides a tutorial example on how to create and delete a program service with 'sc.exe'...
This section describes the MD5 algorithm - a 5-step process of padding of '1000...', appending messa...
This section provides a tutorial example on how to install OpenSSL on a Windows system.
This section provides a tutorial example on how to write a sample program to create a SSL client soc...
This section describes how to create a Chinese HTML document in UTF-8 encoding and publish it on the...