Module Rosetta_coding.Coding

val hex_char_to_bits4 : char -> bool list
val bits4_to_hex_char : bool list -> char
module type Packed = sig ... end
val bits_by_n : int -> 'a list -> 'a list list
val bits_by_4s : bool list -> bool list list
val bits_by_8s : bool list -> bool list list
val of_unpackable : (module Packed with type t = 't) -> ?padding_bit:bool -> 't0 -> string
val of_field : ?padding_bit:bool -> Field.t -> string
val of_scalar : ?padding_bit:bool -> Scalar.t -> string
module type Unpacked = sig ... end
val pack : (module Unpacked with type t = 't) -> string -> bool * 't0
val to_field : string -> Field.t
val to_scalar : string -> Scalar.t
val of_public_key_compressed : ( Field.t, bool ) Signature_lib.Public_key.Compressed.Poly.t -> string
val of_public_key : Signature_lib.Public_key.t -> string
val to_public_key_compressed : string -> ( Field.t, bool ) Signature_lib.Public_key.Compressed.Poly.t
val to_public_key : string -> Signature_lib.Public_key.t
val field_hex_roundtrip_test : unit -> bool
val pk_roundtrip_test : unit -> bool
val hex_key_odd : string
val hex_key_even : string
val pk_compressed_roundtrip_test : Core_kernel.String.t -> unit -> bool
val unit_tests : (string * ( unit -> bool )) list
val run_unit_tests : unit -> unit