package tezos-crypto

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

Element of the scalar group

include S.B58_DATA with type t := t
val to_b58check : t -> string
val to_short_b58check : t -> string
val of_b58check : string -> t Tezos_error_monad.Error_monad.tzresult
val of_b58check_exn : string -> t
val of_b58check_opt : string -> t option
type Base58.data +=
  1. | Data of t
val b58check_encoding : t Base58.encoding
include S.ENCODER with type t := t
val encoding : t Data_encoding.t
val rpc_arg : t Tezos_rpc.RPC_arg.t
val zero : t
val one : t
val of_Z : Z.t -> t
val to_Z : t -> Z.t
val of_int : int -> t
val add : t -> t -> t
val mul : t -> t -> t
val negate : t -> t
val sub : t -> t -> t
val of_bits_exn : string -> t
val to_bits : t -> string
val inverse : t -> t option
val pow : t -> Z.t -> t

Modular exponentiation

val equal : t -> t -> bool
OCaml

Innovation. Community. Security.