Blowfish encryption key length
Kelly Jones
kelly.terry.jones at gmail.com
Wed May 20 01:11:01 UTC 2009
I want to use a random Blowfish key to encrypt files, so I did this:
dd if=/dev/random of=mykey.bf count=100 bs=100
to create a 10K byte mykey.bf file. I can now encrypt foo.txt by doing:
openssl enc -bf -pass file:mykey.bf -in foo.txt > foo.txt.encrypted
However, "man enc" says "Blowfish and RC5 algorithms use a 128 bit key."
Does this mean mykey.bf could've been just 16 bytes (128 bits) long?
Or am I misunderstanding the word "key" here?
--
We're just a Bunch Of Regular Guys, a collective group that's trying
to understand and assimilate technology. We feel that resistance to
new ideas and technology is unwise and ultimately futile.
More information about the freebsd-questions
mailing list