ligo/src/lib_crypto/ed25519.mli

23 lines
890 B
OCaml
Raw Normal View History

(**************************************************************************)
(* *)
2018-02-06 00:17:03 +04:00
(* Copyright (c) 2014 - 2018. *)
(* Dynamic Ledger Solutions, Inc. <contact@tezos.com> *)
(* *)
(* All rights reserved. No warranty, explicit or implicit, provided. *)
(* *)
(**************************************************************************)
(** Tezos - Ed25519 cryptography *)
2018-04-05 18:07:05 +04:00
include S.SIGNATURE
2018-04-05 18:07:05 +04:00
include S.RAW_DATA with type t := t
module Seed : sig
type t
val generate : unit -> t
val extract : Secret_key.t -> t
end
val generate_seeded_key: Seed.t -> (Public_key_hash.t * Public_key.t * Secret_key.t)