Code
Result

PHP code example: mcrypt_encrypt

Encrypts plaintext with given parameters. See documentation.

You can try this function yourself. Just edit the code and on "Run" to see the result.