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

ECDSA Message Digest NadaType #119

Open
manel1874 opened this issue Oct 28, 2024 · 0 comments
Open

ECDSA Message Digest NadaType #119

manel1874 opened this issue Oct 28, 2024 · 0 comments
Labels
documentation Improvements or additions to documentation enhancement New feature or request

Comments

@manel1874
Copy link
Member

Feature Description
This allows to create ECDSA message digests to be stored in the network.

Why is this feature important?
This feature is part of the ongoing effort to support threshold ecdsa signature in Nillion.

How do developers use the feature?

import os

msg_digest = bytearray(os.urandom(32))

values = {
    "msg_digest": nillion_client.EcdsaDigestMessage(msg_digest),
}

values_id = client.store_values(values, ttl_days=1)
returned_values = client.retrieve_values(values_id)
client.delete_values(values_id)

Additional context

  • PR that exposes Ecdsa digests to python client.
@manel1874 manel1874 added documentation Improvements or additions to documentation enhancement New feature or request labels Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant