PHP Classes

Warning - size of key

Recommend this page to a friend!

      Encryption Class BCA  >  All threads  >  Warning - size of key  >  (Un) Subscribe thread alerts  
Subject:Warning - size of key
Summary:Warning: mcrypt_encrypt(): Size of key is too large f
Messages:2
Author:hiren
Date:2014-05-14 17:09:10
Update:2014-05-14 23:46:12
 

  1. Warning - size of key   Reply   Report abuse  
Picture of hiren hiren - 2014-05-14 17:09:10
When running in my localhost, its giving following two warnings.

Warning: mcrypt_encrypt(): Size of key is too large for this algorithm in C:\wamp\www\encryption-bca\Encryption.php on line 59

Warning: mcrypt_decrypt(): Size of key is too large for this algorithm in C:\wamp\www\encryption-bca\Encryption.php on line 71


  2. Re: Warning - size of key   Reply   Report abuse  
Picture of Gabriel Almeida Gabriel Almeida - 2014-05-14 23:46:12 - In reply to message 1 from hiren
Hi Hiren, I had no problem with the class on my localhost.

I researched more about mcrypt_create_iv () is made a few changes to the file Encryption.php

I assume the problem disappeared. Thank you.