import { decryptPath } from "https://deno.land/x/willow@0.2.1/mod.universal.ts";
Decrypt a Path
.
Parameters
opts: { key: EncryptionKey; decryptFn: (key: EncryptionKey, bytes: Uint8Array) => Promise<Uint8Array>; deriveKey: (key: EncryptionKey, component: Uint8Array) => Promise<EncryptionKey>; }
path: Path
Returns
Promise<[Path, EncryptionKey]>