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

[JS] Secure source of randomness #897

Closed
aslesarenko opened this issue Jul 29, 2023 · 1 comment
Closed

[JS] Secure source of randomness #897

aslesarenko opened this issue Jul 29, 2023 · 1 comment

Comments

@aslesarenko
Copy link
Member

Currently Sigma.js uses scala.util.Random for generation of random bytes.
This is not a proper secure source of randomness.
This issue is to implement SecureRandom class in arobsn/sigmajs-crypto-facade#1

https://github.com/ScorexFoundation/sigmastate-interpreter/blob/f6e3303bb45e49f137c8dc96ddb053e35979a760/interpreter/js/src/main/scala/sigmastate/crypto/Platform.scala#L201

@aslesarenko
Copy link
Member Author

done in #898

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

1 participant