Skip to content

Conversation

@tarcieri
Copy link
Member

Also adds an EphemeralSecret type alias.

Updates the docs to use the Generate trait to generate an EphemeralSecret, instead of the example using all zeros with a comment that you should probably fill that zero array using an RNG somehow.

@tarcieri tarcieri force-pushed the srp/getrandom-and-rand_core-features branch from 2847423 to 4306b51 Compare January 13, 2026 20:48
Also adds an `EphemeralSecret` type alias.

Updates the docs to use the `Generate` trait to generate an
`EphemeralSecret`, instead of the example using all zeros with a comment
that you should probably fill that zero array using an RNG somehow.
@tarcieri tarcieri force-pushed the srp/getrandom-and-rand_core-features branch from 4306b51 to 3d3dbf0 Compare January 13, 2026 20:52
@tarcieri tarcieri merged commit 8b2e0eb into master Jan 13, 2026
21 checks passed
@tarcieri tarcieri deleted the srp/getrandom-and-rand_core-features branch January 13, 2026 21:01
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.

2 participants