function cryptoHashimport { cryptoHash } from "https://deno.land/x/simple_utility@v2.1.0/src/pure/crypto.ts"; cryptoHash(data: Uint8Array, sha?: `SHA-${256 | 384 | 512}`): Promise<Uint8Array>Derive SHA2 hash value from binary. Default is SHA-256. ExamplesExample 1 const bin = await Deno.readFile("./file"); const hash = await cryptoHash(bin); Parametersdata: Uint8Arrayoptionalsha: `SHA-${256 | 384 | 512}`ReturnsPromise<Uint8Array>