Length of signature #594
Unanswered
filipgrzelak
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
i have got 2048 bit key and i want to sign a data.
After i sign a data with var sig = new KJUR.crypto.Signature({"alg": "SHA256withRSA"})
sig.init(keyObj)
sig.updateString(dataToSign)
var result = sig.sign()
return btoa(result)
after that when i send a request i have got error that my signature is 512 length but expected was 256
why i have this error?
Beta Was this translation helpful? Give feedback.
All reactions