This commit is contained in:
parent
f3de6ea80d
commit
6f9c05ec51
2 changed files with 27 additions and 0 deletions
|
|
@ -32,6 +32,7 @@ module EddsaPrivateKey = struct
|
|||
|
||||
type t = priv
|
||||
|
||||
let pub_of_priv = pub_of_priv
|
||||
let to_octets t = priv_to_octets t
|
||||
let of_octets t = priv_of_octets t |> Result.get_ok
|
||||
let bin = Bin.map (Bin.bytes 32) of_octets to_octets
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue