Search e01
One query across the encyclopedia, books, dictionary, papers, Wikidata and the developer library. Every hit carries its source.
5 results across 6 corpora for HmacKeyGenParams.
Developer library 5
HmacKeyGenParams
Web Crypto API The **`HmacKeyGenParams`** dictionary of the [Web Crypto API](/docs/Web/API/Web_Crypto_API) represents the object that should be passed as the `algorithm` parameter into SubtleCrypto.generateKey(), when generating a key for the [HMAC](/docs/Web/API/SubtleCrypto/sign#hmac) algorithm. ## Instance properties - `name` - : A string. This should be set to `HMAC`. - `hash` - : A string or an object co
CryptoKey: algorithm property
edKeyGenParams) if the algorithm is any of the RSA variants. - [`EcKeyGenParams`](/docs/Web/API/EcKeyGenParams) if the algorithm is any of the EC variants. - [`HmacKeyGenParams`](/docs/Web/API/HmacKeyGenParams) if the algorithm is HMAC. For `RsaHashedKeyGenParams` and `HmacKeyGenParams`, the `hash` property is always in the object form (with a property called `name`), not the string form. ## Examples ```js const r
Web Crypto API
m` parameter into SubtleCrypto.importKey() or SubtleCrypto.unwrapKey(), when generating a key for the [HMAC](/docs/Web/API/SubtleCrypto/sign#hmac) algorithm. - HmacKeyGenParams - : Represents the object that should be passed as the `algorithm` parameter into SubtleCrypto.generateKey(), when generating a key for the [HMAC](/docs/Web/API/SubtleCrypto/sign#hmac) algorithm. - Pbkdf2Params - : Represents the object th
SubtleCrypto: generateKey() method
rypto/deriveKey#ecdh): pass an [`EcKeyGenParams`](/docs/Web/API/EcKeyGenParams) object. - For [HMAC](/docs/Web/API/SubtleCrypto/sign#hmac): pass an [`HmacKeyGenParams`](/docs/Web/API/HmacKeyGenParams) object. - For [AES-CTR](/docs/Web/API/SubtleCrypto/encrypt#aes-ctr), [AES-CBC](/docs/Web/API/SubtleCrypto/encrypt#aes-cbc), [AES-GCM](/docs/Web/API/SubtleCrypto/encrypt#aes-gcm), or [AES-KW](/docs/We
SubtleCrypto: sign() method
he [FIPS 198-1 standard (PDF)](https://csrc.nist.gov/files/pubs/fips/198-1/final/docs/fips-198-1_final.pdf). The digest algorithm to use is specified in the [`HmacKeyGenParams`](/docs/Web/API/HmacKeyGenParams) object that you pass into generateKey(), or the [`HmacImportParams`](/docs/Web/API/HmacImportParams) object that you pass into importKey(). The HMAC algorithm uses the same algorithm and key for signing and f