Closed ushitora-anqou closed 3 months ago
Currently, Rng.init () len always returns the same value:
Rng.init () len
anqou@bokan:~/pievyt/waq/ocaml-websocket$ dune utop utop # let a = Websocket.Rng.init () 10;; utop # let b = Websocket.Rng.init () 10;; utop # string_of_bool (a = b);; - : string = "true"
This PR fixes the above issue by using mirage-crypto-rng.
Currently,
Rng.init () len
always returns the same value:This PR fixes the above issue by using mirage-crypto-rng.