• Parameters

    • keyBytes: ArrayBuffer | Uint8Array
    • algorithm: string | { name: string } = ...
    • usage: "derive" | "encrypt" = 'encrypt'

    Returns Promise<CryptoKey>