We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aed88ab commit c73b529Copy full SHA for c73b529
lib/common.ml
@@ -35,6 +35,3 @@ let get_local_file path = try Ok (Std.input_file path) with exn -> fmt_error "%s
35
let write_to_local_file ~data path =
36
try Ok (Devkit.Files.save_as path (fun oc -> Stdio.Out_channel.fprintf oc "%s" data))
37
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