Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pairings-signatures-library: Create the method that signs a byte array #15024

Closed
Tracked by #15216
poulok opened this issue Aug 21, 2024 · 0 comments
Closed
Tracked by #15216

pairings-signatures-library: Create the method that signs a byte array #15024

poulok opened this issue Aug 21, 2024 · 0 comments
Assignees
Labels
Platform Tickets pertaining to the platform

Comments

@poulok
Copy link
Member

poulok commented Aug 21, 2024

Following: https://github.com/hashgraph/hedera-services/blob/develop/platform-sdk/docs/proposals/TSS-Library/TSS-Library.md
Section: #Hedera Cryptography Pairings Signatures Library
Implement the Signature class and possibility of signing a byte array message using a private key

  • sign a message: It is the scalar multiplication of the private key element, and the hashToGroup GroupElement from the message, of the Group configured in the SignatureSchema for signatures.
  • serialization of the signature.

The creation of the signature should be responsibility of the private key class
The serialization of the signature is responsibility of the signature class.

Note on serialization, it should be produced with ByteString class of protobuf. The first byte should include the serialized form of the SignatureSchema

Depends on:
#14788
#14786

@poulok poulok mentioned this issue Aug 21, 2024
@poulok poulok added the Platform Tickets pertaining to the platform label Aug 21, 2024
@mxtartaglia-sl mxtartaglia-sl self-assigned this Sep 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Platform Tickets pertaining to the platform
Projects
None yet
Development

No branches or pull requests

2 participants