1 2 3 4 5 6 > >>   Sort: Rank

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.
2023-11-19, 5214🔥, 10💬

💬 2023-02-23 CYR: Thanks for providing the detail example, it helps me to understand the algorithm a lot. The value for g looks like incorrect to ...

💬 2021-01-09 Flying Horse: Hello Dr Yang, My verification scheme is as follows lhs = (r**s mod p)mod q rhs = ((g**h mod p)*(y**r mod p)) mod q If lhs = rhs...

💬 2021-01-08 Herong: Flying, give us an example to show that this verification scheme is not working?

💬 2021-01-07 Flying Horse: Hello Dr Yang, this is a very helpful tutorial. I am trying a different verification scheme for DSA signature. Unfortunately, it...

💬 2020-06-22 Filip: Very helpful, thanks!

(More comments ...)

Certificate in PEM Format
This section describes what is certificate PEM (Privacy Enhanced Mail) format - A format uses PEM idea to convert a certificate in DER format to a message of printable characters. The conversion uses the Base64 encoding.
2023-11-13, 16504🔥, 7💬

💬 2023-11-13 shady: MIICUTCCAfugAwIBAgIBADANBgkqhkiG9w0B AQQFADBXMQswCQYDVQQGEwJDTjELMAkGA1UECBMCUE4xCzAJBgNVBAcTAkNOMQsw CQYDVQQKEwJPTjELMAkGA1UECxM...

💬 2023-10-16 subbarao: thanks

💬 2021-12-27 Azul: Why do you want me to write things like that?

💬 2020-02-23 Herong: Mark, if your certificate is signed by your own CA, put it on the Apache server together with the CA certificate to test. Other ...

💬 2020-02-17 mark scorfield: Hi i have a pem certificate x509 that i would like to share against my own certificate signing authority , what is the best way ...

(More comments ...)

What Is PKCS5Padding?
This section describes what is PKCS5Padding - a schema to pad cleartext to be multiples of 8-byte blocks.
2023-11-02, 48236🔥, 37💬

💬 2023-11-02 ayyappa: enjoy

💬 2023-04-12 {"partnerReferenceNo": "APP12345: ok

💬 2023-01-18 Servant of Elon Musk's Regent: You are the chosen one!

💬 2022-11-17 Elon Musk's Regent: mommy

💬 2022-11-14 Elon Musk: Giving away twitter to the first person to reply and call me mommy

(More comments ...)

Blowfish - 8-Byte Block Cipher
This chapter provides tutorial examples and notes about Blowfish block cipher. Topics include Blowfish encryption and decryption algorithm; Blowfish sub-key generation schema, Blowfish algorithm implementation in Java.
2023-10-24, 844🔥, 4💬

💬 2023-10-24 test: 018a35f5-eed3-7a43-99d2-a6a22956bab7

💬 2022-06-21 sad: hello world

💬 2019-12-16 gio: i love you

"secp256r1" - For 256-Bit ECC Keys
This section describes 'secp256r1' elliptic curve domain parameters for generating 256-Bit ECC Keys as specified by secg.org.
2023-10-20, 2678🔥, 1💬

💬 2023-10-20 Duy: hello

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.
2023-10-16, 250🔥, 2💬

💬 2023-10-16 subbarao: thanks for giving wonderful knowledge

Geometric Introduction to Elliptic Curves
This chapter provides a geometric introduction of elliptic curves and the associated addition operation. Topics includes what is an elliptic curve and its geometric properties; geometric algorithm defining an addition operation; infinity point or identity element; commutativity and associativity of ...
2023-10-11, 714🔥, 2💬

💬 2020-09-12 NA: NA

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...
2023-09-26, 989🔥, 2💬

EC Key in PEM File Format
This section provides a tutorial example on the EC key PEM file format. EC domain parameters are stored together with the private key.
2023-09-17, 3205🔥, 1💬

💬 2023-09-17 ecformat: this is to test EC format

Generate secp256k1 Keys with OpenSSL
This section provides a tutorial example on how to generate EC (Elliptic Curve) private and public key pairs using secp256k1 domain parameters.
2023-08-10, 2915🔥, 3💬

💬 2023-08-10 emanuel: thanks , it was realz helpfull. can zou tell me how can i encrzpt with btc key some message, because btc use the same secp256k1 ...

tinyec - Python Library for ECC
This chapter provides tutorial notes on 'tinyec' Python library for ECC. Topics include installing 'tinyec'; creating ec.Curve objects, performing point addition and scalar multiplication.
2023-07-05, 1043🔥, 4💬

💬 2022-05-16 maria: hola mi mundo bonito

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.
2023-06-23, 8169🔥, 18💬

💬 2023-06-23 rafa: Hello my love

💬 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

(More comments ...)

Illustration of RSA Algorithm: p,q=5,7
This section provides a tutorial example to illustrate how RSA public key encryption algorithm works with 2 small prime numbers 5 and 7.
2023-06-08, 8485🔥, 11💬

💬 2022-12-11 Racheal mweemba: This was helpful

💬 2022-12-11 Racheal Mweemba: ❤️❤️❤️❤️

💬 2022-04-23 Shivam: Please provide the code for the same

💬 2021-12-23 x: 5

💬 2020-11-22 Herong: fab, as shown in the tutorial, the modulus is 35. The encryption key (public key) is 5, and the decryption key (private key) is ...

(More comments ...)

Key Schedule (Sub-Keys Generation) Algorithm
This section describes the Blowfish Key Schedule (Sub-Keys Generation) algorithm. It uses the binary representation of the fractional portion of constant Pi - 3.1415927... as initial values.
2023-06-05, 1703🔥, 3💬

💬 2023-06-05 Daniel: I don't understand how to assign key for plaintext

💬 2016-03-17 Herong: Hi Yogita, Blowfish(T) function refers the Blowfish algorithm described in the previous tutorial: Blowfish Cipher Algorithm .

💬 2016-03-16 YOGITA: what is the function blowfish(T) here? Send the pseudo code

"OpenSSL" Generating Certificates in DER and PEM
This section provides a tutorial example on how to generate certificates in DER and PEM formats using 'OpenSSL'.
2023-05-24, 14156🔥, 4💬

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.
2023-05-03, 8338🔥, 7💬

💬 2023-05-03 Zavala: Greetings from the Tower

💬 2023-03-27 Davide: Greetings from Italy

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

(More comments ...)

EC (Elliptic Curve) Key Pair
This chapter provides tutorial notes on EC (Elliptic Curve) key pair. Topics include definition of EC private and public key pair; example of elliptic curve and subgroup used to generate good EC key pair; using OpenSSL command line tool to generate EC key pairs.
2023-03-23, 995🔥, 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.
2023-03-05, 1456🔥, 3💬

💬 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

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.
2023-02-22, 19471🔥, 6💬

💬 2023-02-22 aaa: 124, 52, -95, -30, 47, 95, -105, -1, -114, -38, -100, -84, 40, -3, 36, -13

💬 2019-04-22 xyz: $9$RTHhSlWL7VsguO7dbw4oiHqf6CuOIRhyl K4JGDq.TQF/OIcyeLXNbsPTz3CAW8X

💬 2018-10-20 Herong: Marco, I just did a Google translation on your comment: "I wonder what all this could be". Are you trying to ask a question?

💬 2018-10-16 Marco: mi chiedo che cosa potrebbe essere tutto questo

💬 2015-11-03 cpp: hello

RsaKeyValidator.java for RSA Key Validation
This section provides a tutorial example on how to validate RSA keys by encrypting and decrypting some random sample messages.
2023-02-19, 742🔥, 2💬

💬 2023-02-19 test: hello i m

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.
2023-02-13, 26842🔥, 11💬

💬 2023-02-13 Amar: Amar

💬 2022-12-02 Victor: meaningful comments.

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

💬 2017-03-15 noname: thanks

💬 2016-01-25 Dev: hello

Build New Curves with tinyec
This section provides a tutorial example on how to create elliptic curve, actually a reduced elliptic curve group, with tinyec Python library.
2022-12-27, 311🔥, 1💬

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.
2022-12-26, 3663🔥, 7💬

💬 2022-12-07 sudarshan: hello

💬 2018-12-22 Hari: Hello

💬 2016-01-02 sivaprakash: nice

"brainpoolP256r1"“ - For 256-Bit ECC Keys
This section describes 'brainpoolP256r1' elliptic curve domain parameters for generating 256-Bit ECC Keys as specified by RFC 5639.
2022-10-01, 1884🔥, 0💬

1 2 3 4 5 6 > >>   Sort: Rank