package sihl

  1. Overview
  2. Docs
type t
val make : string -> t

make raw turns a raw string secret to a fixed length SHA256 digest. A fixed length secret is required for the hard-coded AES key sizes to work.

val to_raw : t -> Cstruct.t

to_raw secret turns a secret into a Cstruct.t.


Innovation. Community. Security.