method Keygrip.prototype.indeximport { Keygrip } from "https://deno.land/x/keygrip@v2.0.0/mod.ts"; index(data: string, digest: string): numberResolve the index of which key was used to digest specified data. Parametersdata: stringData to digest digest: stringDigested hash to compare against Returnsnumber