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

"bf-ecb" Cipher with Literal Key
A tutorial example is provided to show you how to use the 'bf-ecb' (Blowfish in ECB mode) cipher with Literal Key to encrypt and decrypt binary data files. The IV is not used in 'bf-ecb' cipher.
2022-10-01, ∼440🔥, 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, ∼429🔥, 0💬

Crypt::CBC Padding Options
Padding options are described for the Crypt::CBC encryption process. There are 6 padding options supported by Crypt::CBC, 'standard' (i.e., PKCS#5), 'oneandzeroes', 'space', 'rijndael_compat', 'null', and 'none'.
2022-10-01, ∼409🔥, 0💬

Crypt::CBC Encryption with Crypt::Blowfish Objects
A tutorial Perl example is provided to show how to use Crypt::CBC to perform encryption with a predefined Crypt::Blowfish a give IV value, which allows you to specify secret keys in the range of 8 bytes (64 bits) and 56 bytes (448 bits).
2022-10-01, ∼402🔥, 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, ∼398🔥, 0💬

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, ∼398🔥, 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, ∼389🔥, 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, ∼386🔥, 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, ∼381🔥, 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, ∼376🔥, 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, ∼373🔥, 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, ∼362🔥, 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, ∼357🔥, 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, ∼351🔥, 0💬

Blowfish Test Vectors with 16-Byte Keys
A tutorial Perl example is provided to show how to build a table of test vectors with Crypt::Blowfish with 128-bit (16-byte) secret keys.
2023-10-28, ∼347🔥, 1💬

💬 2023-10-28 Jeremy Gemegah: pardon me, I am a bit confused, what is the size of the sub keys?

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

Crypt::ECB Encryption with No Padding
A tutorial example is provided to show how to use Crypt::ECB to perform encryption with no padding. The plaintext must be multiples of 8-byte blocks.
2022-09-07, ∼327🔥, 1💬

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, ∼322🔥, 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, ∼321🔥, 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, ∼319🔥, 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, ∼315🔥, 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, ∼310🔥, 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, ∼310🔥, 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, ∼305🔥, 0💬

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