The default of cryptoFunc was set to Mcrypt::rijndael