Module 1-Crypto.Blake2b

val digest : ?⁠key:string -> ?⁠size:int -> string -> string

digest ~key ~size msg return the Blake2b hash of msg of size size bytes (defaults to 64). If key is not specified no key is used.