Files
matrix-quotes-bot/node_modules/matrix-js-sdk/lib/utils/internal/deriveKeys.d.ts
unfunny dfe4cc537f init
2026-09-13 00:29:11 -04:00

10 lines
387 B
TypeScript

/**
* Derive AES and HMAC keys from a master key.
*
* This is used for deriving secret storage keys: see https://spec.matrix.org/v1.11/client-server-api/#msecret_storagev1aes-hmac-sha2 (step 1).
*
* @param key
* @param name
*/
export declare function deriveKeys(key: Uint8Array<ArrayBuffer>, name: string): Promise<[CryptoKey, CryptoKey]>;
//# sourceMappingURL=deriveKeys.d.ts.map