Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • 7
    You should not use ECB either, for that matter. Commented Jun 7, 2012 at 21:33
  • 7
    Keys should be random bytes, or you should use a secure key derivation function. Commented Jun 7, 2012 at 21:36
  • 4
    MCRYPT_RIJNDAEL_256 is not a standardized function, you should use AES (MCRYPT_RIJNDAEL_128) Commented Jun 7, 2012 at 21:37