Skip to content

Commit

Permalink
secure-random-js: add ScalaDoc
Browse files Browse the repository at this point in the history
  • Loading branch information
aslesarenko committed Aug 4, 2023
1 parent b4a65a1 commit 5b35813
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 5b35813

Please sign in to comment.