Why does SubtleCrypto.verify return an ArrayBuffer? #556
Unanswered
dominictobias-bullish
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
-
Hi,
Why does SubtleCrypto.verify return an ArrayBuffer instead of a boolean as per https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/verify
And how do we check from this buffer that the signature is valid in this case? Is it simply something like "if the buffer is defined it's valid"?
P.S. Thanks for your amazing work in saving the RN community from the woeful lack of crypto support ❤️
Beta Was this translation helpful? Give feedback.
All reactions