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
Would you please consider adding a parameter to Ed25519.cs's ImplVerify, etc. for NaCl compatibility? It generates different results. I would really like to move over to BouncyCastle for signature verification.
Thank you!
James
The text was updated successfully, but these errors were encountered:
@JamesB7 , bouncycastle uses the R + S format for signature verification and generation while Nacl uses the R + M + S format for it's where we know that R.Length = 32 bytes and S.Length is also equal to 32 bytes while M is the message.
You can simply write a intermediate class to convert the Nacl signature format to Bouncy castle's own before passing it to bouncy castle EdDSA class to perform the verification.
Simple as pie.
Hello,
Would you please consider adding a parameter to Ed25519.cs's ImplVerify, etc. for NaCl compatibility? It generates different results. I would really like to move over to BouncyCastle for signature verification.
Thank you!
James
The text was updated successfully, but these errors were encountered: