This commit is contained in:
swrup 2025-11-28 14:00:11 +01:00
parent f3de6ea80d
commit 6f9c05ec51
2 changed files with 27 additions and 0 deletions

View file

@ -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