diff --git a/src/Utils/crypto.ts b/src/Utils/crypto.ts index d0d2510..d10a02b 100644 --- a/src/Utils/crypto.ts +++ b/src/Utils/crypto.ts @@ -136,7 +136,9 @@ export async function hkdf( const infoBytes = info.info ? new TextEncoder().encode(info.info) : new Uint8Array(0) // Import the input key material - const importedKey = await subtle.importKey('raw', inputKeyMaterial as BufferSource, { name: 'HKDF' }, false, ['deriveBits']) + const importedKey = await subtle.importKey('raw', inputKeyMaterial as BufferSource, { name: 'HKDF' }, false, [ + 'deriveBits' + ]) // Derive bits using HKDF const derivedBits = await subtle.deriveBits(