Tag Info

Hot answers tagged

3

First to explain you, why you get 512-bit outputs from a 256-bit curve: The output is basically a point (x-coordinate is enough) and a message-dependant value, with the x-coordinate being expressed as integer. You can verify the signature by checking for a specific relationship between the point and the message-dependant value and the public key point. In ...


2

Signature verification is failed because you are using a different public key in the verification method. Use the public key to verify the signature which is consistent with the private key that is used into rsaSign() method. Hope this will help you. Note that, this public key is consistent with the private key which is used in Signature Generation method : ...



Only top voted, non community-wiki answers of a minimum length are eligible