From 5b3581308354175f936bb5163d22bfce7d6056e7 Mon Sep 17 00:00:00 2001 From: Alexander Slesarenko Date: Fri, 4 Aug 2023 11:58:48 +0200 Subject: [PATCH] secure-random-js: add ScalaDoc --- .../src/main/scala/sigmastate/crypto/SigmaJsCryptoFacade.scala | 1 + 1 file changed, 1 insertion(+) diff --git a/interpreter/js/src/main/scala/sigmastate/crypto/SigmaJsCryptoFacade.scala b/interpreter/js/src/main/scala/sigmastate/crypto/SigmaJsCryptoFacade.scala index 908d6ee166..fa60015ed2 100644 --- a/interpreter/js/src/main/scala/sigmastate/crypto/SigmaJsCryptoFacade.scala +++ b/interpreter/js/src/main/scala/sigmastate/crypto/SigmaJsCryptoFacade.scala @@ -116,6 +116,7 @@ object CryptoFacadeJs extends js.Object { def getRandomBytes(length: Int): Uint8Array = js.native } +/** This class provides a cryptographically strong generator of byte arrays. */ class SecureRandomJS { /** * Generates a user-specified number of random bytes.