package sihl

  1. Overview
  2. Docs
The Sihl web framework

Install

dune-project
 Dependency

Authors

Maintainers

Sources

3.0.4.tar.gz
md5=8a2754d6e5b9eafb8ff332abdb1ceb7d
sha512=3230a1315686b0b6f90a41ceda27ab036e178184ab13d5a98f64d6d987caf4a8a5d94ed78bc8e79b0ee3b40ccbb1dbdc71ffe171f1aef1f18aba81fc720e3a1b

doc/sihl/Sihl/Random/index.html

Module Sihl.RandomSource

Sourceval base64 : int -> string

base64 n returns a Base64 encoded string containing n random bytes.

Sourceval bytes : int -> string

bytes n returns a byte sequence as string with n random bytes. In most cases you want to use base64 to get a string that can be used safely in most web contexts.