Open
Description
Hi, I'm having a little trouble converting my data to use in the RSA.signPSS
function. I've worked out that the signature
parameter should be a base64 string, but I can't work out how to encode the message
parameter when trying to sign arbitrary Uint8Array
data. I've tried Buffer.from(messageBytes).toString()
and B64js.fromByteArray(messageBytes)
but neither seem to work.
TL;DR Could someone help me with handling signing of Uint8Array
messages?