Closed morrning closed 3 years ago
Hello,
Ideally this should be done using the toBase64 method of the signature object:
$signature = EllipticCurve\Ecdsa::sign($message, $privateKey);
$base64String = $signature1->toBase64();
Then you can reverse rebuild the object from the string using the fromBase64 method:
$signature = EllipticCurve\Signature::fromBase64($base64String);
how can i convert signature to string for transfer over webservice