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

Add doc comments #2

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

Add doc comments #2

wants to merge 5 commits into from

Conversation

Nazarevsky
Copy link
Member

No description provided.

@Nazarevsky Nazarevsky requested a review from dovgopoly January 21, 2025 15:27
@Nazarevsky Nazarevsky mentioned this pull request Jan 21, 2025
Merged
/// Gets a new index from the provided compressed Ristretto point. The index is meant to be used
/// for retrieving elements from [`Table`] `s` and `slog` vectors.
///
/// Note: it does not perform hashing. However, in the original reference implementation authors

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In the place of "authors" here can you cite the actual authors for clarity? Berstein and Lange correct?

pub slog: Vec<Scalar>,

/// Generated table map where key - distinguished (see [`is_distinguished`] function)
/// Ristretto256 point and value - it's discrete log. Use [`Table::generate`] method to fill

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"Ristretto256 point and its discrete log"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants