Module Checksum.Algorithm

type t =
  1. | Crc32
  2. | Crc32c
  3. | Crc64nvme
  4. | Sha1
  5. | Sha256
  6. | Sha512
  7. | Md5
  8. | Xxhash64
  9. | Xxhash3
  10. | Xxhash128
  11. | Unknown of string

S3 checksum algorithm names. Unknown preserves forward-compatible values returned by AWS.

val to_string : t -> string

Render the AWS header/API spelling.

val of_string : string -> t

Parse an AWS checksum algorithm name. Unknown values are preserved.