Movatterモバイル変換


[0]ホーム

URL:


  1. Web
  2. Web APIs
  3. AesCbcParams

AesCbcParams

TheAesCbcParams dictionary of theWeb Crypto API represents the object that should be passed as thealgorithm parameter intoSubtleCrypto.encrypt(),SubtleCrypto.decrypt(),SubtleCrypto.wrapKey(), orSubtleCrypto.unwrapKey(), when using theAES-CBC algorithm.

Instance properties

name

A string. This should be set toAES-CBC.

iv

AnArrayBuffer, aTypedArray, or aDataView. The initialization vector. Must be 16 bytes, unpredictable, and preferably cryptographically random. However, it need not be secret (for example, it may be transmitted unencrypted along with the ciphertext).

Examples

See the examples forSubtleCrypto.encrypt() andSubtleCrypto.decrypt().

Specifications

Specification
Web Cryptography Level 2
# dfn-AesCbcParams

Browser compatibility

Browsers that support the "AES-CBC" algorithm for theSubtleCrypto.encrypt(),SubtleCrypto.decrypt(),SubtleCrypto.wrapKey(), orSubtleCrypto.unwrapKey() methods 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