add error checking, and suggest openssl/mcrypt in composer