Which libraries in OCaml can be used for creating digital signatures?
You can checkout hacl
(available in opam) or better hacl-star
and hacl-star-raw
(which are almost released in opam
: https://github.com/ocaml/opam-repository/pull/16243
2 Likes
The mirage-crypto repository provides DSA and RSA (PKCS1, PSS) signatures (https://mirage.github.io/mirage-crypto/doc/mirage-crypto-pk/Mirage_crypto_pk/index.html) - opam install mirage-crypto-pk
(a fork of nocrypto).
The x509 uses mirage-crypto to verify and provision X.509 certificates (https://mirleft.github.io/ocaml-x509/doc/x509/X509/Signing_request/index.html#val-sign) opam install x509
.
2 Likes