lib_crypto: export neuterize and public_key equality
This commit is contained in:
parent
1e5c6da307
commit
71e708830d
@ -208,3 +208,5 @@ let secret_key_encoding =
|
|||||||
|
|
||||||
let nonce_encoding =
|
let nonce_encoding =
|
||||||
Data_encoding.Fixed.bytes nonce_size
|
Data_encoding.Fixed.bytes nonce_size
|
||||||
|
let neuterize : secret_key -> public_key = Box.neuterize
|
||||||
|
let equal : public_key -> public_key -> bool = Box.equal
|
||||||
|
@ -92,3 +92,6 @@ val secret_key_size : int
|
|||||||
val public_key_encoding : public_key Data_encoding.t
|
val public_key_encoding : public_key Data_encoding.t
|
||||||
val secret_key_encoding : secret_key Data_encoding.t
|
val secret_key_encoding : secret_key Data_encoding.t
|
||||||
val nonce_encoding : nonce Data_encoding.t
|
val nonce_encoding : nonce Data_encoding.t
|
||||||
|
|
||||||
|
val neuterize : secret_key -> public_key
|
||||||
|
val equal : public_key -> public_key -> bool
|
||||||
|
Loading…
Reference in New Issue
Block a user