package sihl

  1. Overview
  2. Docs
The Sihl web framework

Install

dune-project
 Dependency

Authors

Maintainers

Sources

2.0.1.tar.gz
md5=52b28d3faac0a2243735285aa3f962aa
sha512=e7ff89bdba9f1afa3b115a056ae3d403f602685187a968485ea64a7cd1a18791f66b7480b682bf66acd3564dd89139162779d58a43c2389d785c98e246094a18

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.