Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Go to Latest
method DigestContext.prototype.clone
import { DigestContext } from "https://deno.land/std@0.176.0/crypto/_wasm/mod.ts";

Returns a new DigestContext that is a copy of this one, i.e., using the same algorithm and with a copy of the same internal state.

This may be a more efficient option for computing multiple digests that start with a common prefix.