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

Increase secret size to 32 bytes #13

Closed
codewinch opened this issue Jan 5, 2022 · 4 comments
Closed

Increase secret size to 32 bytes #13

codewinch opened this issue Jan 5, 2022 · 4 comments

Comments

@codewinch
Copy link

The example secret size should be doubled from 16 to 32 bytes. See #3 and PR12 for additional color.

@mergenchik
Copy link
Collaborator

actually secret size depends on a parameter length in util.RandomSecret.

@mergenchik
Copy link
Collaborator

Currently secret size (in bytes) is provided by length parameter in util.RandomSecret().
If user needs 32 bytes, then he can set length to 32. The 32 byte secret will be generated and base32 encoded.

@mergenchik
Copy link
Collaborator

@codewinch, can you please comment? I hope I could explain.

@mergenchik
Copy link
Collaborator

Closing this issue

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

2 participants