How is the result of openssl_sign() encoded?
<p><a href="http://php.net/manual/en/function.openssl-sign.php" rel="nofollow">The docs about <code>openssl_sign()</code></a> say that the signature is returned in the passed string argument. My question is - how is it encoded? Base64, Hex-string, anything else?</p>

<p>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" ;)</p>
