docs.rodeo

MDN Web Docs mirror

AesGcmParams

{{ APIRef("Web Crypto API") }} 

The AesGcmParams dictionary of the Web Crypto API represents the object that should be passed as the algorithm parameter into {{domxref("SubtleCrypto.encrypt()")}} , {{domxref("SubtleCrypto.decrypt()")}} , {{domxref("SubtleCrypto.wrapKey()")}} , or {{domxref("SubtleCrypto.unwrapKey()")}} , when using the AES-GCM algorithm.

For details of how to supply appropriate values for this parameter, see the specification for AES-GCM: NIST SP800-38D, in particular section 5.2.1.1 on Input Data.

Instance properties

Examples

See the examples for {{domxref("SubtleCrypto.encrypt()")}}  and {{domxref("SubtleCrypto.decrypt()")}} .

Specifications

{{Specifications}} 

Browser compatibility

Browsers that support the “AES-GCM” algorithm for the {{domxref("SubtleCrypto.encrypt()")}} , {{domxref("SubtleCrypto.decrypt()")}} , {{domxref("SubtleCrypto.wrapKey()")}} , or {{domxref("SubtleCrypto.unwrapKey()")}}  methods will support this type.

See also

In this article

View on MDN