caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Jonathan Protzenko <jonathan.protzenko@gmail.com>
To: Joshua Guttman <joshua.guttman@gmail.com>, caml-list@inria.fr
Subject: Re: [Caml-list] Crypto libraries for OCaml: Recommendations?
Date: Tue, 18 May 2021 11:32:54 -0700	[thread overview]
Message-ID: <e33ceade-e489-3920-ebfa-b3bea497632e@gmail.com> (raw)
In-Reply-To: <CAPFR9zMUKPzppJc7CpzNDj42ExDhfrrqKFH5GKbi1_DNt9nKgg@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1292 bytes --]

Hi Joshua,

Allow me to recommend the formally verified cryptography from the 
Everest project. We support a wide variety of algorithms 
<https://hacl-star.github.io/Supported.html> so hopefully your needs 
would be met. We have official OCaml bindings, available via `opam 
install hacl-star`. And we can easily extend the OCaml bindings if 
there's a C algorithm that hasn't been exposed via OCaml yet.

Those bindings are used by Tezos' blockchain, which I hope provides a 
good endorsement that they are "production ready".

Best,

Jonathan

On 5/18/21 9:51 AM, Joshua Guttman wrote:
> It's a while since I've done a project with OCaml,
> though I used it a lot a decade or more back. But
> now I have something for which I think OCaml is
> the perfect tool.
>
> It does involve relying on a few crypto primitives,
> though, and I see on ocaml.org <http://ocaml.org/> that there are now
> a good number of crypto packages on offer.
>
> In my case, I just need a decent hash, access to AES
> both as a pure cipher and with the usual modes, and
> subsequently decent elliptic curve signature and key
> exchange.
>
> Are there packages that provides access to decent
> implementations of these things, and are currently
> well maintained?
>
> Thanks a lot!
>
>         Joshua
> --
>


[-- Attachment #2: Type: text/html, Size: 4098 bytes --]

      parent reply	other threads:[~2021-05-18 18:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-18 16:51 Joshua Guttman
2021-05-18 18:03 ` Xavier Leroy
2021-05-18 18:32 ` Jonathan Protzenko [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e33ceade-e489-3920-ebfa-b3bea497632e@gmail.com \
    --to=jonathan.protzenko@gmail.com \
    --cc=caml-list@inria.fr \
    --cc=joshua.guttman@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).