You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just managed to confuse the input type, it would have been helpful if this were not accepted:
let _ =let pub =X25519.(base |> string_of_public_key) inlet priv ="0123456789abcdef0123456789abcdef"in(* <-- note that this should be 64 hex characters, not 32 octets! *)let pub = x25519 ~priv~pubin
print_endline pub
(* happily prints 633d0241b2d1519ecfc84b75e1520e01fed24538f36b2d26f939ddd1f1efd73d *)
The text was updated successfully, but these errors were encountered:
I just managed to confuse the input type, it would have been helpful if this were not accepted:
The text was updated successfully, but these errors were encountered: