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

Make generate_session_key() public #449

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

edgerunnergit
Copy link

PR Type

Refactor

PR Checklist

  • Tests for the changes have been added / updated.
  • Documentation comments have been added / updated.
  • A changelog entry has been made for the appropriate packages.
  • Format code with the nightly rustfmt (cargo +nightly fmt).

Overview

The PR makes the function generate_session_key() public.
And changes it's implementation to use DistString::sample_string to get one less unwrap().

Closes #434

@edgerunnergit edgerunnergit changed the title Gen session key Make generate_session_key() public Jul 2, 2024
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.

generate_session_key() could be public
1 participant