You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
Hi, I'm having a little trouble converting my data to use in the
RSA.signPSS
function. I've worked out that thesignature
parameter should be a base64 string, but I can't work out how to encode themessage
parameter when trying to sign arbitraryUint8Array
data. I've triedBuffer.from(messageBytes).toString()
andB64js.fromByteArray(messageBytes)
but neither seem to work.TL;DR Could someone help me with handling signing of
Uint8Array
messages?The text was updated successfully, but these errors were encountered: