Score:3

Size of subkey array in Blowfish

je flag

I'm writing a school paper about Blowfish encryption, and couldn't seem to find out if the size of the subkey array for Blowfish changes based on the length of the key. I would assume that it doesn't effect the size of the subkey array but I'm relatively new to Blowfish encryption.

Score:1
ru flag

In block ciphers, the size of the subkey array (sometimes referred to as round keys; in the case of Blowfish, sometimes called the $P$-array) can change according to two parameters: the block size (which determines the size of the elements of the array) and the number of rounds (which determines the number of elements of the array).

In the case of Blowfish, the block size is fixed at 64-bits for all key sizes and the number of rounds is also fixed at 16 for all key sizes. In other words, you are correct in your assumption that the size of the array does not change in the case of Blowfish.

This is not true of other block ciphers (e.g. AES where the number of rounds varies with key size).

Your report should also note that in Blowfish the key is also used to determine $S$-box entries (again, this is not the case for all block ciphers). The size of the $S$-box also does not change for different key sizes.

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.