opam-version: "2.0" maintainer: [ "Eyyüb Sari " "Romain Calascibetta " ] authors: [ "Eyyüb Sari " "Romain Calascibetta " ] homepage: "https://github.com/mirage/digestif" bug-reports: "https://github.com/mirage/digestif/issues" dev-repo: "git+https://github.com/mirage/digestif.git" doc: "https://mirage.github.io/digestif/" license: "MIT" synopsis: "Hashes implementations (SHA*, RIPEMD160, BLAKE2* and MD5)" description: """ Digestif is a toolbox to provide hashes implementations in C and OCaml. It uses the linking trick and user can decide at the end to use the C implementation or the OCaml implementation. We provides implementation of: * MD5 * SHA1 * SHA224 * SHA256 * SHA384 * SHA512 * WHIRLPOOL * BLAKE2B * BLAKE2S * RIPEMD160 """ build: [ ["dune" "subst"] {dev} [ "dune" "build" "-p" name "-j" jobs ] [ "dune" "runtest" "-p" name "-j" jobs ] {with-test} ] depends: [ "ocaml" {>= "4.03.0" & < "5.0"} "dune" {>= "1.9.2" & < "2.6"} "eqaf" "base-bytes" "base-bigarray" "fmt" {with-test} "alcotest" {with-test & < "1.0.0"} ] depopts: [ "ocaml-freestanding" "mirage-xen-posix" ] conflicts: [ "mirage-xen-posix" {< "3.1.0"} "ocaml-freestanding" {< "0.4.3"} "eqaf" {= "0.3"} "mirage-runtime" {< "4.0.0"} ] url { src: "https://github.com/mirage/digestif/releases/download/v0.7.2/digestif-v0.7.2.tbz" checksum: [ "sha256=f3e3728e3880466da8589a35a0a738d1064644b0aaa4250d87383027f6a16486" "sha512=f684f8629d58e47201589956a661c18b4ebe93c11c7807c71d873b96a55b91fdef6a2c393d4fad0fab2e2e5090de76859ebcdfbefdd76144b78b19b63cd7e476" ] } available: [ arch != "s390x" ]