val sha256_file : string -> string
val sha512_file : string -> string
val hash_file : [< `SHA256 | `SHA512 ] -> string -> string
val sha256_bytes : Stdlib.Bytes.t -> string
val sha512_bytes : Stdlib.Bytes.t -> string
val hash_bytes : [< `SHA256 | `SHA512 ] -> Stdlib.Bytes.t -> string
For compat, use the above
val sha256 : string -> string
val sha512 : string -> string
val hash : [< `SHA256 | `SHA512 ] -> string -> string