mcrypt dependency was missing from composer.json

encrypt() method is using mcrypt_create_iv.