package octez-libs

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type combined
type _ key =
  1. | Sk : Stdlib.Bytes.t -> secret key
  2. | Pk : Stdlib.Bytes.t -> public key
  3. | Ck : Stdlib.Bytes.t -> combined key
val skbytes : int
val pkbytes : int
val ckbytes : int
val tagbytes : int
val unsafe_to_bytes : 'a. 'a key -> Stdlib.Bytes.t
val blit_to_bytes : 'a. 'a key -> ?pos:int -> Stdlib.Bytes.t -> unit
val equal : 'a. 'a key -> 'a key -> bool
val unsafe_sk_of_bytes : Stdlib.Bytes.t -> secret key
val unsafe_pk_of_bytes : Stdlib.Bytes.t -> public key
val unsafe_ck_of_bytes : Stdlib.Bytes.t -> combined key
val of_seed : ?pos:int -> bytes -> secret key
val basepoint : bytes
val neuterize : secret key -> public key
val keypair : unit -> public key * secret key
val dh : public key -> secret key -> combined key
OCaml

Innovation. Community. Security.