7Fermer9
squalylLe 02/09/2016 à 11:15
si, il le gère, lis mon message.

RIJNDAEL256 n'est PAS AES avec des clés de 256 bits
http://csrc.nist.gov/archive/aes/rijndael/Rijndael-ammended.pdf#page=1
For Rijndael, the block length and the key length can be independently specified to any multiple of 32 bits, with a minimum of 128 bits, and a maximum of 256 bits. The support for block and key lengths 160 and 224 bits was introduced in reference [2]. AES fixes the block length to 128 bits, and supports key lengths of 128, 192 or 256 bits only.

si tu veux utiliser AES avec des clés de 256 bits dans mcrypt, tu lui donnes l'algo RIJNDAEL128 MAIS avec une clé qui fait 256 bits et pas 128.