What are the differences between these encryption algorithms?

前端 未结 5 2174
轻奢々
轻奢々 2021-02-20 01:46

What are the difference between MCRYPT_RIJNDAEL_128, MCRYPT_RIJNDAEL_256, MCRYPT_BLOWFISH, etc. Which one is best suitable for data trans

5条回答
  •  囚心锁ツ
    2021-02-20 02:42

    The answer(s) to this question stating that, regarding MCRYPT_RIJNDAEL_128 and MCRYPT_RIJNDAEL_256, "The number 128 or 256 is the key length" - this is incorrect. These numbers refer to the blocksize, not the keylength. However, both implementations (using a block size of 128 or 256 bits) can accept keys of 128 or 256 bits.

提交回复
热议问题