HORIZON HASKELLDocslts/ghc-9.14.x7a6c33e2026-10-12Search packagesCtrl K
Theme: |

GHC 9.14.1 · lts/ghc-9.14.x · 7a6c33e · 2026-10-12

Modulelibsodium-bindings-0.0.3.0Haskell2010

LibSodium.Bindings.Random

A collection of functions for securely generating unpredictable data. This uses the best option on each platform, as follows:

  • On Windows, RtlGenRandom.

  • On FreeBSD and Linux, getrandom syscall.

  • On other UNIX platforms, /dev/urandom.

Synopsis