Docs GODI Archive
Projects Blog Link DB

Search GODI:


More options
File doc/godi-cryptokit/html/Cryptokit.Random.rng.html GODI Package godi-cryptokit
 
   Cryptokit.Random.rng.html    Sources  

Class type Cryptokit.Random.rng


class type rng = object .. end
Generic interface for a random number generator.

method random_bytes : string -> int -> int -> unit
random_bytes buf pos len stores len random bytes in string buf, starting at position pos.
method wipe : unit
Erases the internal state of the generator. Do not call random_bytes after calling wipe.
This web site is published by Informatikbüro Gerd Stolpmann
Powered by Caml