package opam-core

  1. Overview
  2. Docs

Pure OCaml implementation of SHA256/512 hashing functions. Functions take a filename and return the hash as an hex string.

val sha256 : string -> string
val sha512 : string -> string
val hash : [< `SHA256 | `SHA512 ] -> string -> string
OCaml

Innovation. Community. Security.