package hacl_func

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

Module HaclSource

Sourceval ready : (unit -> unit) -> unit
Sourcetype pk = private string
Sourcetype sk = private string
Sourcetype expanded = {
  1. esk : string;
  2. pk : pk;
}
Sourceval pk : string -> pk
Sourceval sk : string -> sk
Sourceval generate : unit -> sk
Sourceval to_public : sk -> pk
Sourceval sign : sk:sk -> string -> string
Sourceval verify : pk:pk -> signature:string -> msg:string -> bool
Sourceval expand : sk -> expanded
Sourceval sign_expanded : esk:expanded -> string -> string
Sourceval fill_expanded : string -> expanded
Sourceval sha256 : string -> string
Sourceval sha512 : string -> string
Sourceval sha256_hmac : key:string -> string -> string
Sourceval sha512_hmac : key:string -> string -> string
Sourceval blake2b : ?key:string -> ?length:int -> string -> string
Sourceval secretbox : key:string -> nonce:string -> msg:string -> string option
Sourceval open_secretbox : key:string -> nonce:string -> cypher:string -> string option
OCaml

Innovation. Community. Security.