<< < 1 2 3   Sort: Date

MD5 Mesasge Digest Algorithm
This chapter provides tutorial notes and example codes on the MD5 message digest algorithm. Topics include MD5 algorithm overview; using MD5 in Java, PHP, and Perl.
2017-09-10, 724👍, 2💬

💬 2016-05-19 ishvar: hello ahemad

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, 710👍, 1💬

💬 2016-01-24 Joe: Very nice

Blowfish Cipher Algorithm
This section describes the Blowfish cipher algorithm - A 16-round Feistel cipher with block size of 64 bits developed by Bruce Schneier in 1993.
2016-08-03, 652👍, 2💬

💬 2016-08-03 azi: fantastic

Viewing Certificate Path
This section provides a tutorial example on how to view certificate path when visiting an 'https' Web site in IE 9. The top certificate in a certificate path is the CA certificate, which is trusted automatically.
2017-01-31, 580👍, 1💬

💬 2017-01-31 kishor: -----BEGIN CERTIFICATE----- MIIDqjCCApICCQC6MOh9nHUvUjANBgkqhkiG 9w0BAQUFADCBljELMAkGA1UEBhMCVVMxETAPBgNVBAgTCENvbG9yYWRvMRMwEQY. ..

How Secure Is RSA Algorithm?
This section discusses the security of RSA public key encryption algorithm. RSA private key is not 100% secure. But if the private key uses larger value of n = p*q, it will take a very long time to crack the private key.
2017-11-10, 572👍, 2💬

💬 2017-11-10 Anonymous: LOLZZZ

Viewing Components of Certificate Signing Request
This section provides a tutorial example on how to view different components of a CSR (Certificate Signing Request) for your public key with OpenSSL.
2016-03-14, 568👍, 3💬

💬 2014-03-29 Herong: Hi Mike, Sorry for the inconvenience. HTML tags are supported, but they are limited to admin users only to reduce spamming and h...

💬 2014-03-23 Mike: Wow. What a waste of time trying to make a legible comment post. No instructions on how to get a paragraph break, include a angl...

💬 2014-03-23 Mike: You made a note in "Viewing Components of Certificate Signing Request" where you said, "The request is signed with my private ke...

"openssl enc" Converting Keys from Binary to PEM
This section provides a tutorial example on how to convert a private and public key pair stored in binary PKCS#8 format into PEM (Privacy Enhanced Mail) format with the 'openssl enc' command.
2018-01-20, 515👍, 2💬

💬 2018-01-20 Herong: Dan, Thanks for comment. The "-inform" and "-outform" options are definitely better options. This tutorial will be updated.

💬 2018-01-17 Dan Lukes: openssl dsa understands binary key's format as well. Just claim it using option '-inform DER'. Moreover, 'openssl dsa -inform DE...

"keytool" Importing CA's Own Certificate
This section provides a tutorial example on how to import CA's certificate generated by 'OpenSSL' into a 'keystore' file using 'keytool'
2016-10-20, 508👍, 2💬

💬 2016-10-20 Herong: Akhtar, AES256 encryption does not require any certificates. It requires a secret AES key, see Introduction to AES (Advanced Enc...

💬 2016-10-19 Akhtar: I have also a certificate file (.cer) .I did the same procedure to import in to mykey store and got .jks file but, now i want to...

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, 473👍, 2💬

💬 2018-07-20 aqil: havr fun

DES Encryption Operation Modes
This chapter provides tutorial examples and notes about DES encryption operation modes. Topics include how different blocks of plaintext can be coupled together to improve the strength of the DES encryption algorithm; ECB (Electronic CodeBook), CBC (Cipher Block Chaining), CFB (Cipher FeedBack), and...
2016-11-12, 412👍, 1💬

💬 2016-11-12 kazim: very good webpage

DSA 512-bit and 1024-bit Key Pair Examples
This section provides 2 DSA key pair examples, 512-bit and 1024-bit, using DsaKeyGenerator.java running JDK 1.6.
2017-11-08, 353👍, 1💬

💬 2017-11-08 abc: ok

What Is Block Cipher?
This section describes what is block cipher - An encryption scheme in which 'the clear text is broken up into blocks of fixed length, and encrypted one block at a time'.
2016-09-26, 296👍, 1💬

💬 2016-09-26 eva: soooooooo Amazing thank so much this site helping to learn about blowfish algorthm more

Visiting a "https" Web Site with Chrome
This section describes how Google Chrome 24 shows a lock icon when you visit an 'https' Web site to provide you more security related information.
2017-05-10, 277👍, 1💬

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, 269👍, 4💬

💬 2018-10-18 sam: harry please stop bullying me

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, 252👍, 1💬

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, 209👍, 2💬

💬 2018-06-09 Herong: Adrian, you are welcome!

💬 2018-06-09 Adrian: I needed in rush working 64-bit keys. You helped me a lot. Thanks! :D

Java Implementation of DES - Test Cases
This section provides two test cases for the Java implementation of DES algorithm, CipherDES.java.
2018-03-30, 165👍, 2💬

"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💬

"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💬

Using MD5 Message Digest in Java
This section provides a tutorial example on how to use MD5 message digest algorithm in Java. The JDK JCE package offers the MD5 algorithm through a generic message digest class, javax.security.MessageDigest.
2017-01-27, 137👍, 2💬

Certificate X.509 Standard and DER/PEM Formats
This chapter provides tutorial notes and example codes on certificate content standard and file formats. Topics include X.509 standard for certificate content; DER encoding for certificate binary file format; PEM encoding for certificate text file format; exchanging certificates in DER and PEM forma...
2016-04-10, 130👍, 1💬

RSA Public Key Encryption Algorithm
This section describes the RSA public key encryption algorithm. Generating public and private keys used in RSA encryption requires two large prime numbers.
2016-11-21, 120👍, 1💬

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, 111👍, 2💬

💬 2018-11-10 Herong: Falle, try to use whois.icann.org to get more information about that website.

💬 2018-11-10 Falle: Thanks for your help . I couldn't access full information about cardtopia.org a website that scammed me of apple gift cards wort...

Summary - Migrating "keystore" Keys to "OpenSSL"
This section describes high level steps on how to migrate a private key generated in a JKS (Java KeyStore) file to an 'OpenSSL' key file. The key step is to convert a JKS file into a PKCS#12 file with 'keytool'.
2016-04-09, 102👍, 1💬

<< < 1 2 3   Sort: Date