Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

remove prng store, update create viewing key to make entropy optional #13

Merged
merged 1 commit into from
Aug 8, 2024

Conversation

darwinzer0
Copy link
Collaborator

This PR makes the following changes:

  • uses env seed for rng in execute
  • removes legacy PRNG from store.rs as it is no longer needed
  • during initialization creates viewing key of contract using hkdf key derivation
  • makes entropy field optional in create_viewing_key by adding random bytes from vrf

@darwinzer0 darwinzer0 merged commit 4cd963c into master Aug 8, 2024
@darwinzer0 darwinzer0 deleted the no-prng-2 branch August 8, 2024 07:21
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants