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

Deterministic secure random generation #14

Open
kirelagin opened this issue Oct 7, 2020 · 0 comments
Open

Deterministic secure random generation #14

kirelagin opened this issue Oct 7, 2020 · 0 comments
Labels
crypto-sodium package: crypto-sodium enhancement New feature or request

Comments

@kirelagin
Copy link
Contributor

Provide functions for generating cryptographically secure random data from a seed. Namely:

  • A function that takes a seed and returns a sized byte array with random data.
  • And infinite stream (streamly, etc.) of random data.

Libsodium pretty much has this implemented as randombytes_buf_deterministic (https://libsodium.gitbook.io/doc/generating_random_data), but, I think, it might be better to reimplement it in Haskell to share the code with the streaming one.

@kirelagin kirelagin added crypto-sodium package: crypto-sodium enhancement New feature or request labels Oct 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
crypto-sodium package: crypto-sodium enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant