Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Hash

import type { Hash } from "https://googleapis.deno.dev/v1/artifactregistry:v1.ts";

A hash of file content.

interface Hash {
type?:
| "HASH_TYPE_UNSPECIFIED"
| "SHA256"
| "MD5"
| "DIRSUM_SHA256";
value?: Uint8Array;
}

§Properties

§
type?: "HASH_TYPE_UNSPECIFIED" | "SHA256" | "MD5" | "DIRSUM_SHA256"
[src]

The algorithm used to compute the hash value.

§
value?: Uint8Array
[src]

The hash value.