[#1]
Anonymous [2014-06-17 18:07:55]
Hmm.. really @mwgamera? openssl_get_cipher_methods() returns cipher methods but openssl_digest() expects a digest method in the second parameter. However even the docu on this page links to the openssl_get_cipher_methods() method in the "See also" section (however this can be a coincidence). Shouldn't it be a digest method from openssl_get_md_methods() instead openssl_get_cipher_methods()?
I'm not very experienced in cryptography but I don't really understand why you would pass a cipher method to a hash function instead of a digest method.