Movatterモバイル変換


[0]ホーム

URL:


  1. Web
  2. Web APIs
  3. AesDerivedKeyParams

AesDerivedKeyParams

TheAesDerivedKeyParams dictionary of theWeb Crypto API represents the object that should be passed as thederivedKeyType parameter intoSubtleCrypto.deriveKey(), when deriving an AES key: that is, when the algorithm is identified as any ofAES-CBC,AES-CTR,AES-GCM, orAES-KW.

Instance properties

name

A string. This should be set toAES-CBC,AES-CTR,AES-GCM, orAES-KW, depending on the algorithm you want to use.

length

ANumber — the length in bits of the key to generate. This must be one of: 128, 192, or 256.

Examples

See the examples forSubtleCrypto.deriveKey().

Specifications

Specification
Web Cryptography Level 2
# dfn-AesDerivedKeyParams

Browser compatibility

Browsers that support any of the AES-based algorithms for theSubtleCrypto.deriveKey() method will support this type.

See also

Help improve MDN

Learn how to contribute

This page was last modified on byMDN contributors.


[8]ページ先頭

©2009-2025 Movatter.jp