- importKey(
keyBytes: ArrayBuffer | Uint8Array,
algorithm?: string | { name: string },
usage?: "derive" | "encrypt",
): Promise<CryptoKey> Parameters
- keyBytes: ArrayBuffer | Uint8Array
- algorithm: string | { name: string } = ...
- usage: "derive" | "encrypt" = 'encrypt'
Returns Promise<CryptoKey>