< 1 2 3 4 > >>   ∑:75  Sort:Rank

PHP Mcrypt Blowfish Block Cipher
This section provides a tutorial example on how to write Blowfish block cipher by calling the PHP Mcrypt function, mcrypt_encrypt() in ECB mode. Each input data block will be encrypted independently.
2022-10-01, 276🔥, 0💬

What is Crypt::CBC
A quick introduction is provided for the Crypt::CBC Perl module, which can be used to perform encryption and decryption in the CBC (Cipher Block Chaining) operation mode with a given block cipher for any number of blocks.
2022-10-01, 275🔥, 0💬

Blowfish Cipher Algorithm
Tutorial notes and example codes on Blowfish cipher algorithm. Topics include Blowfish encryption algorithm; Blowfish Sub-key and S-box generation schema; Blowfish decryption algorithm and proof; list of first 8336 hex digits of PI; C program to calculate hex digits of PI.
2022-10-01, 274🔥, 0💬

Crypt::CBC Prepending IV to Ciphertext
A tutorial Perl example is provided to show how to use Crypt::CBC to prepend the IV value to the ciphertext, if IV is specified by the user. This saves the effort to pass the IV to receiver separately from the ciphertext.
2022-10-01, 274🔥, 0💬

Salted Key Generation Algorithm
A tutorial example is provided to confirm the Salted Key generation algorithm used by the OpenSSL 'enc -bf-ecb' command. The algorithm is using the MD5 hash function repeatedly on the given passphrase and the given salt to populate the secret key and the IV.
2022-10-01, 270🔥, 0💬

Installing Crypt::Blowfish 2.14 with ActivePerl
A tutorial is provided to show how to install Crypt-Blowfish 2.14 module originally developed by A.M. Kuchling with ActivePerl 5.18 on Windows.
2022-10-01, 258🔥, 0💬

"bf-cbc" Cipher with Random Salt
A tutorial example is provided to show you how to use the 'bf-cbc' cipher with Random Salt to encrypt and decrypt binary data files. The Secret Key and the IV will be derived from the given passphrase and a random salt.
2022-10-01, 253🔥, 0💬

"bf-cbc" Encryption Verification
A tutorial example is provided to verify OpenSSL 'enc -bf-cbc' command against the Blowfish CBC test vector published at www.schneier.com.
2022-10-01, 249🔥, 0💬

Perl Crypt::CBC Module
Tutorial notes and example codes are provided on Crypt::CBC Perl module. Topics include introduction and installation of Crypt::CBC; Encryption options, Literal Key, Salted Key and Random Salt; Padding options; Test Vectors.
2022-10-01, 248🔥, 0💬

Crypt::CBC Secret Key and IV Algorithm
The algorithm used in Crypt::CBC is described for deriving the secret key and the IV from a passphrase and a salt. It is using the MD5 hash function 4 times recursively on the combination of the passphrase and the salt to produce bytes to populate the secret key and the IV.
2022-10-01, 247🔥, 0💬

Crypt::Blowfish Verification with Test Vectors
A tutorial Perl example is provided to show how to verify the Crypt::Blowfish module with standard Blowfish 16-round algorithm test vectors.
2022-10-01, 236🔥, 0💬

Crypt::CBC Literal Key Error Cases
Error cases are provided on secret key size and IV size when using Crypt::CBC with the Literal Key option. Secret key must be 56 bytes long and IV must be 8 bytes long.
2022-10-01, 232🔥, 0💬

Crypt::ECB Auto Padding
Padding option is described for the Crypt::ECB encryption process. It offers only 1 padding option called PADDING_AUTO, which uses the standard PKCS#5 algorithm.
2022-10-01, 209🔥, 0💬

Secret Keys with Repeating Pattern
Tutorial examples are provided to show that secret keys with a repeating pattern will result the same ciphertext for the same given plaintext.
2022-10-01, 202🔥, 0💬

About This Book
This section provides some detailed information about this book - Blowfish Cipher Tutorials - Herong's Tutorial Examples.
2022-10-01, 201🔥, 0💬

What is PHP Mcrypt Extension
This section describes the PHP Mcrypt Extension - a built-in PHP extension that allows to access the mcrypt library, which supports Blowfish and a number of other cipher encryption algorithms.
2022-10-01, 197🔥, 0💬

Proof of Blowfish Cipher Algorithm
A proof is provided to show that the Blowfish decryption algorithm will give us back the original plaintext.
2022-10-01, 196🔥, 0💬

What Is Crypt::Blowfish
A quick introduction is provided for the Crypt::Blowfish Perl module, which can be used to perform encryption and decryption on a single cipher block of 64 bits.
2022-10-01, 192🔥, 0💬

Crypt::CBC Operation Simulation
A tutorial Perl example is provided to show how to use Crypt::Blowfish module to simulate the CBC operation mode. The simulation result matches the result from the Crypt::CBC module.
2022-10-01, 189🔥, 0💬

"bf-cbc" Cipher on Multiple Blocks
A tutorial example is provided to show you how multiple plaintext blocks are encrypted in CBC operation mode. The encryption of each plaintext block is impacted by the encryption of the previous block.
2022-10-01, 188🔥, 0💬

Perl Crypt::ECB Perl Module
Tutorial notes and example codes are provided on Crypt::ECB Perl module. Topics include introduction and installation of Crypt::ECB; Encryption test cases; Auto padding option.
2022-10-01, 186🔥, 0💬

Crypt::CBC Salted Key Test Cases
Some test cases are provided to run Crypt::CBC with the salted key option. Passphrase can have any length. But salt must be 8 bytes long.
2022-10-01, 184🔥, 0💬

"bf-ecb" Cipher with Random Salt
A tutorial example is provided to show you how to use the 'bf-ecb' cipher with Random Salt to encrypt and decrypt binary data files. The Secret Key and the IV will be derived from the given passphrase and a random salt.
2022-10-01, 184🔥, 0💬

"bf-cbc" 2-Block Test Vectors
A tutorial example is provided to show how to build a table of test vectors for Blowfish algorithm in CBC mode on 2-block (16-byte) plaintext messages using OpenSSL 'enc -bf-cbc' command.
2022-10-01, 184🔥, 0💬

< 1 2 3 4 > >>   ∑:75  Sort:Rank