package octez-libs

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

Module Hacl.SecretboxSource

Sourcetype key = Bytes.t
Sourceval keybytes : int
Sourceval tagbytes : int
Sourceval unsafe_of_bytes : bytes -> bytes
Sourceval blit_of_bytes : bytes -> int -> bytes
Sourceval genkey : unit -> Hacl_star__Hacl.bytes
Sourceval secretbox : key:Hacl_star__Hacl.bytes -> nonce:Hacl_star__Hacl.bytes -> msg:Hacl_star__Hacl.bytes -> cmsg:Hacl_star__Hacl.bytes -> unit
Sourceval secretbox_open : key:Hacl_star__Hacl.bytes -> nonce:Hacl_star__Hacl.bytes -> cmsg:Hacl_star__Hacl.bytes -> msg:Hacl_star__Hacl.bytes -> bool
OCaml

Innovation. Community. Security.