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

Support flexible parameters #1

Open
psivesely opened this issue May 23, 2018 · 0 comments
Open

Support flexible parameters #1

psivesely opened this issue May 23, 2018 · 0 comments

Comments

@psivesely
Copy link
Owner

One should be able to generate a validated parameters struct to specify n, m, and w. Since there are some restrictions on these values (e.g., 1 <= n <= 512), the new method of this struct should validate these parameters.

If the parameters are flexible, they'll need to be encoded in the public key.

I think it may be best to put the global secret seed and the public seed in a new struct together with this parameter struct, which could mean generating an object containing all values needed for signing at once. Maybe this is actually what the SecKey struct should be, and then the Addr struct (currently just a type alias actually) should include a used bool.

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

No branches or pull requests

1 participant