import { instantiateRustWasm } from "https://deno.land/x/libauth@v2.0.0-alpha.6/src/lib/bin/hashes.ts";
Note, most of this method is translated and boiled-down from the wasm-pack workflow. Significant changes to wasm-bindgen or wasm-pack build will likely require modifications to this method.
type
() => Promise<HashFunction>
webassemblyBytes: ArrayBuffer,
expectedImportModuleName: string,
hashExportName: string,
initExportName: string,
updateExportName: string,
finalExportName: string,