< 1 2 3 4 > >>   Sort: Rank

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, 6845👍, 16💬

💬 2018-12-13 syed zia ur rehman: i realy like your link

💬 2017-10-15 Herong: CipherDES.java also works as a decryption program. Try it by running "java DesCipher decrypt keyFile input output".

💬 2017-10-09 aa: thanks, but where i can find DES decryption

💬 2017-10-09 Denys: thx

💬 2017-04-23 aa: thanks

(More comments ...)

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, 16754👍, 11💬

💬 2018-12-04 Gowtham: Great & Layman Terms

💬 2018-09-12 Onkar D: very good summary about SHA1

💬 2018-08-31 Munikumar: Great...

💬 2017-10-24 Siva: Thanks

💬 2017-08-24 Superman: &lt;script>alert("xss");&lt; /script>

(More comments ...)

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, 147👍, 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...

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

💬 2018-10-29 Thanks!: meaningful comments.

💬 2017-03-15 noname: thanks

💬 2016-01-25 Dev: hello

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

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

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

💬 2018-07-20 aqil: havr fun

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

💬 2016-04-01 MM: Thank you, this is very helpful.

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, 470👍, 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

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, 3489👍, 5💬

💬 2016-03-22 Herong: Peter, I see the issue now. This example needs to be reviewed and updated. Thanks for the feedback.

💬 2016-03-21 peter winzell: x is not selected according to 0 < x < q

💬 2015-10-19 Herong: Hi Marian, do you have a question about this tutorial?

💬 2015-10-18 Marian: when q=3 x = 5 # selected: 0 < x < q

Introduction of DSA (Digital Signature Algorithm)
This chapter provides tutorial notes and example codes on DSA (Digital Signature Algorithm). Topics include introduction of DSA; illustration of DSA key generation, message signing and signature verification; proof of Digital Signature Algorithm.
2018-04-07, 3478👍, 11💬

💬 2018-04-07 Digital Signature Algorithm: Conclusions: DSA (Digital Signature Algorithm) uses public key and private key to generate and verify digital signatures. DSA pu...

💬 2018-04-07 Submit Your Comment: Please write meaningful comments. Thanks! ☺

💬 2018-04-07 world: hello

💬 2018-02-20 amit: hello

💬 2017-09-19 dasu: we r champion

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💬

DES Key Schedule (Round Keys Generation) Algorithm
This section describes DES (Data Encryption Standard) algorithm - A 16-round Feistel cipher with block size of 64 bits.
2018-02-24, 9882👍, 13💬

💬 2018-02-24 Herong: hema, values in the pc-2 table are pre-defined by the algorithm. They are not calculated.

💬 2018-02-23 hema: i understood pc-1 table can you pls guide to calculate manually pc-2 table in des algorithm.

💬 2017-10-24 Herong: QuAI, you are right those bits are not used in the Permuted Choice 1 (PC1) table.

💬 2017-10-19 QuAl: And forget about bits 8, 16, ..., 64 of initial кey K! Those bits for parity check only (see FIPS 46-3)

💬 2017-06-15 Azaz: Not that much useful

(More comments ...)

"OpenSSL" Generating CA's Private Key
This section provides a tutorial example on how to use OpenSSL to generate a RSA private key of 2048 bit long with OpenSSL. This key will be used as the CA's private key and must stored securely in a file with password protection.
2018-02-03, 2128👍, 1💬

💬 2018-02-03 atomic.kidd: most Excellent Herong for this sharing of excellent Informations. Even the openssh documentation is not up to date nor as accura...

"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, 1705👍, 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...

OpenSSL Introduction and Installation
This chapter provides tutorial notes and example codes on OpenSSL. Topics include introduction of OpenSSL; installing OpenSSL on Windows systems.
2017-12-24, 966👍, 4💬

💬 2016-11-28 musa: thanks

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'.
2017-12-09, 5141👍, 6💬

💬 2017-12-09 Herong: See the next tutorial: SHA1 Message Digest Algorithm Overview.

💬 2017-12-04 V: where can we find sha-1 formula ?

💬 2016-01-16 raza: i am raza see you latter

💬 2015-10-10 Herong: Ash, the next tutorial may help you understand better: SHA1 Message Digest Algorithm Overview

💬 2015-10-09 Ash: Please can u explain clearly..I dint understood

(More comments ...)

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

💬 2017-11-10 Anonymous: LOLZZZ

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

💬 2017-11-08 abc: ok

Installing OpenSSL on Windows
This section provides a tutorial example on how to install OpenSSL on a Windows system.
2017-10-29, 44923👍, 18💬

💬 2017-10-29 Max: Te possino! How I obtain the .o, .h files to use like include in my .c mail file?

💬 2017-02-03 Jim: Now run along...

💬 2017-02-03 Jim: If I did this just once we would not be even, cause you did it once when you put it up here..

💬 2016-12-19 red: Please write meaningful comments. Thanks!

💬 2016-12-19 Thank: Thanks!

(More comments ...)

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

💬 2016-05-19 ishvar: hello ahemad

Using Certificates in Firefox
This chapter provides tutorial notes and example codes on using certificates in Firefox 18. Topics include why Web browsers need certificates; viewing the certificate from an https Web server; exporting a certificate from Firefox 18 to a certificate file; importing a CA certificate into Firefox 18.
2017-08-31, 3278👍, 1💬

💬 2017-08-31 bobby: ok will do

Cryptography Tutorials - Herong's Tutorial Examples
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, p...
2017-08-05, 26978👍, 4💬

💬 2017-06-17 Herong: Neil, I will try my best. Thanks for the comment.

💬 2017-06-14 Neil Shrestha-Birtch: It helped me! thanks for keeping this resource up.

💬 2016-01-11 Sandy: Good job Dr Herong Yang!

💬 2015-11-07 Herong: My Facebook Like count is not going up. ☹ Maybe there is not that many active Facebook users out there as we thought...

< 1 2 3 4 > >>   Sort: Rank