Fixed IV Buffer length check. Added MacPorts mcrypt support.