package dns-resolver

  1. Overview
  2. Docs
DNS resolver business logic

Install

Dune Dependency

Authors

Maintainers

Sources

dns-9.1.0.tbz
sha256=8f3ec95acf14f574219b5440a689eae1acc2a49cb1d8a066f9b23a7ac68f44f0
sha512=7bf2d099919a410f270d157a04a8d2e1c499269cca868e19a80396cdfc84a9b844c353267cf9183f585bb9b975445b8e2d0a6dd64d85b8de19e7752ec495cbe9

doc/dns-resolver.mirage/Dns_resolver_mirage/Make/argument-1-R/index.html

Parameter Make.R

A generator (PRNG) with its state.

module Entropy : sig ... end

Entropy sources and collection

val generate_into : ?g:g -> bytes -> ?off:int -> int -> unit

generate_into ~g buf ~off len invokes generate_into on g or default generator. The random data is put into buf starting at off (defaults to 0) with len bytes.

val generate : ?g:g -> int -> string

Invoke generate_into on g or default generator and a freshly allocated string.

val accumulate : g option -> Entropy.source -> [ `Acc of string -> unit ]

accumulate g source is a function data -> unit to feed entropy to the RNG. This is useful if your system has a special entropy source.

OCaml

Innovation. Community. Security.