Title: mcrypt errors
Last modified: August 31, 2016

---

# mcrypt errors

 *  Resolved [shadethedemon](https://wordpress.org/support/users/shadethedemon/)
 * (@shadethedemon)
 * [10 years ago](https://wordpress.org/support/topic/mcrypt-errors/)
 * I’m having trouble looking into the ldap(Active Dirrectory) server an I noticed
   this error.
 * `[Fri May 13 11:14:54.320152 2016] [:error] [pid 10640] [client 10.68.0.202:56552]
   PHP Warning: mcrypt_decrypt(): Key of size 22 not supported by this algorithm.
   Only keys of sizes 16, 24 or 32 supported in /var/www/html/wp-content/plugins/
   authorizer/authorizer.php on line 4919, referer:`
 * It also did line 4900
 * I also found this [](http://stackoverflow.com/questions/27254432/mcrypt-decrypt-error-change-key-size)
 * [https://wordpress.org/plugins/authorizer/](https://wordpress.org/plugins/authorizer/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [klorentz](https://wordpress.org/support/users/klorentz/)
 * (@klorentz)
 * [10 years ago](https://wordpress.org/support/topic/mcrypt-errors/#post-7378190)
 * You can fix it by adding 2 characters into the secret
 * in
 * wp-content/plugins/authorizer/authorizer.php
 * on line 4894
 *  private static $key = ‘AA01234567890123456789012’;
 * Regards
    Konrad
 *  Plugin Author [Paul Ryan](https://wordpress.org/support/users/figureone/)
 * (@figureone)
 * [10 years ago](https://wordpress.org/support/topic/mcrypt-errors/#post-7378197)
 * Thanks guys. PHP versions 5.6 and higher will report this warning. A fix will
   be included in the next release. The existing key will be padded with null bytes
   to make sure encrypted data is not lost for people using PHP versions prior to
   5.6.
 * [https://github.com/uhm-coe/authorizer/commit/2dfe558b2f7dfebc4f7d0f21a37040444c33c367](https://github.com/uhm-coe/authorizer/commit/2dfe558b2f7dfebc4f7d0f21a37040444c33c367)
 *  Plugin Author [Paul Ryan](https://wordpress.org/support/users/figureone/)
 * (@figureone)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/mcrypt-errors/#post-8161720)
 * New version is out with this feature. Please let me know if you find any problems.
   
   [https://wordpress.org/plugins/authorizer/changelog/](https://wordpress.org/plugins/authorizer/changelog/)

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘mcrypt errors’ is closed to new replies.

 * ![](https://ps.w.org/authorizer/assets/icon-256x256.jpg?rev=1967453)
 * [Authorizer](https://wordpress.org/plugins/authorizer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/authorizer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/authorizer/)
 * [Active Topics](https://wordpress.org/support/plugin/authorizer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/authorizer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/authorizer/reviews/)

## Tags

 * [mcrypt](https://wordpress.org/support/topic-tag/mcrypt/)

 * 3 replies
 * 3 participants
 * Last reply from: [Paul Ryan](https://wordpress.org/support/users/figureone/)
 * Last activity: [9 years, 8 months ago](https://wordpress.org/support/topic/mcrypt-errors/#post-8161720)
 * Status: resolved