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

Ways to Control Secret Key and IV
A quick explanation of different Blowfish cipher operation modes and different ways to control the secret key and the IV: literal key, salted key and random key.
2022-10-01, ∼338🔥, 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, ∼336🔥, 0💬

Blowfish 8-Bit Cipher in PHP
Tutorial notes and example codes on Blowfish 8-Bit Cipher. Topics include introduction of CFB-8 and OFB-8 cipher operation modes; Blowfish 2-block test vectors in CFB-8 and OFB-8 modes.
2022-10-01, ∼336🔥, 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, ∼327🔥, 0💬

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, ∼323🔥, 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, ∼322🔥, 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, ∼309🔥, 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, ∼307🔥, 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, ∼296🔥, 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, ∼285🔥, 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, ∼284🔥, 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, ∼280🔥, 0💬

About This Book
This section provides some detailed information about this book - Blowfish Cipher Tutorials - Herong's Tutorial Examples.
2022-10-01, ∼266🔥, 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, ∼256🔥, 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, ∼253🔥, 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, ∼244🔥, 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, ∼242🔥, 0💬

Secret Key Padding and Truncation
A tutorial example is provided to show you how OpenSSL 'enc' apply padding or truncation to get a 16-byte secret key from the value specified in the '-K' option.
2022-10-01, ∼242🔥, 0💬

First 8336 Fractional Hex Digits of PI
The first 8336 hexadecimal digits of the fractional portion of constant PI, 3.1415927.... These hexadecimal digits are needed to construct Sub-keys and S-Boxes.
2022-10-01, ∼240🔥, 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, ∼238🔥, 0💬

PHP Mcrypt Extension for Blowfish
Tutorial notes and example codes on PHP Mcrypt Extension. Topics include introduction of PHP Mcrypt Extension; Running Blowfish a block cipher (ECB mode); Running Blowfish in block chaining cipher (CBC, CFB and OFB modes).
2022-10-01, ∼237🔥, 0💬

Crypt::CBC Padding Option Tests
A tutorial example is provided to how different Crypt::CBC padding options behave. The 'standard' (PKCS#5) padding option seems to be the best.
2022-10-01, ∼234🔥, 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, ∼234🔥, 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, ∼233🔥, 0💬

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