package tezos-crypto

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type combined
type _ key =
  1. | Sk : Bytes.t -> secret key
  2. | Pk : Bytes.t -> public key
  3. | Ck : Bytes.t -> combined key
val skbytes : int
val pkbytes : int
val ckbytes : int
val tagbytes : int
val unsafe_to_bytes : 'a. 'a key -> Bytes.t
val blit_to_bytes : 'a. 'a key -> ?pos:int -> Bytes.t -> unit
val equal : 'a. 'a key -> 'a key -> bool
val unsafe_sk_of_bytes : Bytes.t -> secret key
val unsafe_pk_of_bytes : Bytes.t -> public key
val unsafe_ck_of_bytes : 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.