package sihl

  1. Overview
  2. Docs
The Sihl web framework

Install

Dune Dependency

Authors

Maintainers

Sources

3.0.5.tar.gz
md5=20516760578c31cfc0e56db9bb84cebc
sha512=787252e6acd1010ae3ffd8105f4abff4f66c5d6efffee827f2ffc6695a2ad7cea6b859dc62398acf4c7e8b08ffa44a5974fa14faf68f623db14e91e96f0e65e6

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.

OCaml

Innovation. Community. Security.