The docs about openssl_sign() say that the signature is returned in the passed string argument. My question is – how is it encoded? Base64, Hex-string, anything else?
I don’t have php installed and I have to use this PHP code I was given simply in order to verify whether my Java implementation is correct, so don’t ask me “have you tried it” 😉
It doesn’t seem to be encoded at all:
produces:
or: