On Fri, Sep 23, 2011 at 11:38 AM, Anthony Papillion <papill...@gmail.com> wrote:
> Hey Everyone,
>
> So I've never used MCRYPT before today and I've got a question. How
> can I tell if it's worked or failed? The doc says MCRYPT_DECRYPT() and
> MCRYPT_ENCRYPT() will return decrypted or encrypted data respectively
> but how do I know if it's completely failed?
>
> Thanks!
> Anthony
>

If it failed you get binary gibberish, or nothing, and you get to
troubleshoot till you figure out the problem.

It's not very dev friendly, but it works.
_______________________________________________
New York PHP Users Group Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk

http://www.nyphp.org/Show-Participation

Reply via email to