The 4th argument of the openssl_sign function is the signing digest algorithm.
So, does that mean that the openssl_sign function already does the hashing before signing it?
Or should I still hash my data before passing to openssl_sign?
The 4th argument of the openssl_sign function is the signing digest algorithm.
So, does that mean that the openssl_sign function already does the hashing before signing it?
Or should I still hash my data before passing to openssl_sign?