AES vs Blowfish for file encryption

后端 未结 7 1034
执念已碎
执念已碎 2021-01-30 02:34

I want to encrypt a binary file. My goal is that to prevent anyone to read the file who doesn\'t have the password.

Which is the better solution, AES or Blowfish with th

7条回答
  •  滥情空心
    2021-01-30 03:32

    It is a not-often-acknowledged fact that the block size of a block cipher is also an important security consideration (though nowhere near as important as the key size).

    Blowfish (and most other block ciphers of the same era, like 3DES and IDEA) have a 64 bit block size, which is considered insufficient for the large file sizes which are common these days (the larger the file, and the smaller the block size, the higher the probability of a repeated block in the ciphertext - and such repeated blocks are extremely useful in cryptanalysis).

    AES, on the other hand, has a 128 bit block size. This consideration alone is justification to use AES instead of Blowfish.

提交回复
热议问题