package sihl

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

A collection of services and libraries that deal with JWT, Json, Regex, Randonmness, Hashing, Time and Strings.

JSON Web Token

Sihl.Utils.Jwt

module Jwt : sig ... end

This module implements JSON Web tokens. They are typically used decouple authentication from the other parts of a system.

JSON

module Json : sig ... end

Regex

module Regex : sig ... end

This module implements regex and exposes a high-level API for the most common use cases.

Random

module Random : sig ... end

Use this module for random byte generation. It makes sure that the random number generator is set up correctly before usage.

Hashing

module Hashing : sig ... end

Hashing strings and comparing hashes.

Time

module Time : sig ... end

Use this module to deal with time, dates and durations.

String

module String : sig ... end

Helper for dealing with strings.