2

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?

jww
  • 97,681
  • 90
  • 411
  • 885
rsc
  • 10,348
  • 5
  • 39
  • 36

0 Answers0