package sodium

  1. Overview
  2. Docs
type storage = Stdlib.Bytes.t
val of_group_elt : group_elt -> storage

of_group_elt ge converts ge to storage. The result is group_elt_size bytes long.

val to_group_elt : storage -> group_elt

to_group_elt s converts s to a group_elt.

val of_integer : integer -> storage

of_integer i converts i to storage. The result is integer_size bytes long.

val to_integer : storage -> integer

to_integer s converts s to a integer.

OCaml

Innovation. Community. Security.