how long is the default key size used by mcrypt_blowfish?

I'm going to use Blowfish cipher for my project in PHP (mcrypt_blowfish). But I have a question regarding the used of mcrypt_blowfish, how long is the deafult key size that was used by this mode of encryption in PHP?? Some other cipher that was support by libmcrypt had a declared key size, like :

 MCRYPT_RIJNDAEL_128 --> 128 bit key

 MCRYPT_RIJNDAEL_192 --> 192 bit key

 MCRYPT_RC6_128 --> 128 bit key

 MCRYPT_RC6_192 --> 192 bit key

But how long is the deafult key size for mcrypt_blowfish?? Thx before...


It seems to use a variable key size (it seems there isn't a "default" size) :

"Blowfish has a 64-bit block size and a variable key length from 32 bits up to 448 bits"

Here is an example using a 448 bits key :

Looking on other sites, MCRYPT_BLOWFISH_128, MCRYPT_BLOWFISH_192, MCRYPT_BLOWFISH_256 and MCRYPT_BLOWFISH_448 should work too (didn't try ^^)

Need Your Help

UIColor Category Linker Errors

ios unit-testing linker-error uicolor

Earlier today I tried to add Unit tests to my xcode project for a static framework that I am creating. After adding the Unit Tests target to my project, I was able to successfully run the unit tests

how to use select element onchange event to fill hidden element

html onchange hidden

Any help with this is greatly appreciated, as I've been pulling my hair out trying to make it work!

Identifying memory problems in an ASP.NET application iis memory profiling

I've got an ASP.NET application running and on the production box it's using about 450MB RAM, however, it shouldn't be using quite so much, and it seems to increase over time, so it seems there mig...