Skip to content

Signing data and verifying them #33

@Vineet77

Description

@Vineet77

Branch: signing
Module: client

Now we must how our KeyManager be able to sign data and verify the signatures. A quick run through elliptical curve cryptography. We use the private key to sign data, and we can use the public key to verify the signature (verify that it was the private key corresponding to the public key that signed the data.)

In KeyManager.java, there are two functions sign and verify. The sign function will take a private key, data and return the signature. verify takes the signature, data, and public key to verify the signature.

Implement the signing and verifying functionality. Use the SHA-256 ECDSA signing algorithm.
This SO post may come in handy: https://stackoverflow.com/a/18263263/5327161

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions