HORIZON HASKELLDocslts/ghc-10.0.x8fef28d2026-11-02Search packagesCtrl K
Theme: |

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 8fef28d · 2026-11-02

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