Skip to content

Commit c73b529

Browse files
committed
remove unused signature verification function
1 parent aed88ab commit c73b529

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

lib/common.ml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,3 @@ let get_local_file path = try Ok (Std.input_file path) with exn -> fmt_error "%s
3535
let write_to_local_file ~data path =
3636
try Ok (Devkit.Files.save_as path (fun oc -> Stdio.Out_channel.fprintf oc "%s" data))
3737
with exn -> fmt_error "%s" (Exn.to_string exn)
38-
39-
let sign_string_sha256 ~key ~basestring =
40-
Cstruct.of_string basestring |> Nocrypto.Hash.SHA256.hmac ~key:(Cstruct.of_string key) |> Hex.of_cstruct |> Hex.show

0 commit comments

Comments
 (0)