package sihl

  1. Overview
  2. Docs
val block_size : int
val token_length : int

token_length is the amount of bytes used in the unencrypted CSRF tokens.

module Secret : sig ... end
module Encrypted_token : sig ... end
module Decrypted_token : sig ... end

This module does not provide an API to read a decrypted token (by turning it into a string, Cstruct.t or similar). This is to prevent leaking CSRF tokens.

OCaml

Innovation. Community. Security.