How to Determine if AES-256 Bit Encryption is Used in a Session How to Determine if AES-256 Bit Encryption is Used in a Session

How to Determine if AES-256 Bit Encryption is Used in a Session

Maria Scieranska

Objective

Determining if AES-256 Bit Encryption is used in a session.

Applies To

  • Video API 
  • Encryption
  • AES-256

Procedure

  1. To validate AES-256 is used in the session, check with webrtc internals logs. For example in Chrome, go to chrome://webrtc-internals before connecting the session. 
  2. Download the webrtc internals dump and you will see that the media encryption used is AES-256.

    "RTCTransport_0_1-srtpCipher": {

    "startTime": "2021-09-02T16:29:07.421Z",

    "endTime": "2021-09-02T16:30:25.970Z",

    "values": "[\"AEAD_AES_256_GCM\",\"AEAD_AES_256_GCM\",\"AEAD_AES_256_GCM\",\"AEAD_AES_256_GCM\",\"AEAD_AES_256_GCM\",\"AEAD_AES_256_GCM\",\"AEAD_AES_256_GCM\",\"AEAD_AES_256_GCM\",\"AEAD_AES_256_GCM\",\"AEAD_AES_256_GCM\",\"AEAD_AES_256_GCM\",\"AEAD_AES_256_GCM\",\"AEAD_AES_256_GCM\",\"AEAD_AES_256_GCM\",\"AEAD_AES_256_GCM\",\"AEAD_AES_256_GCM\",\"AEAD_AES_256_GCM\",\"AEAD_AES_256_GCM\",\"AEAD_AES_256_GCM\",\"AEAD_AES_256_GCM\",\"AEAD_AES_256_GCM\",\"AEAD_AES_256_GCM\",\"AEAD_AES_256_GCM\",\"AEAD_AES_256_GCM\",\"AEAD_AES_256_GCM\",\"AEAD_AES_256_GCM\",\"AEAD_AES_256_GCM\",\"AEAD_AES_256_GCM\",\"AEAD_AES_256_GCM\",\"AEAD_AES_256_GCM\",\"AEAD_AES_256_GCM\",\"AEAD_AES_256_GCM\",\"AEAD_AES_256_GCM\",\"AEAD_AES_256_GCM\",\"AEAD_AES_256_GCM\",\"AEAD_AES_256_GCM\",\"AEAD_AES_256_GCM\",\"AEAD_AES_256_GCM\",\"AEAD_AES_256_GCM\",\"AEAD_AES_256_GCM\",\"AEAD_AES_256_GCM\",\"AEAD_AES_256_GCM\",\"AEAD_AES_256_GCM\",\"AEAD_AES_256_GCM\",\"AEAD_AES_256_GCM\",\"AEAD_AES_256_GCM\",\"AEAD_AES_256_GCM\",\"AEAD_AES_256_GCM\",\"AEAD_AES_256_GCM\",\"AEAD_AES_256_GCM\",\"AEAD_AES_256_GCM\",\"AEAD_AES_256_GCM\",\"AEAD_AES_256_GCM\",\"AEAD_AES_256_GCM\",\"AEAD_AES_256_GCM\",\"AEAD_AES_256_GCM\",\"AEAD_AES_256_GCM\",\"AEAD_AES_256_GCM\",\"AEAD_AES_256_GCM\",\"AEAD_AES_256_GCM\",\"AEAD_AES_256_GCM\",\"AEAD_AES_256_GCM\",\"AEAD_AES_256_GCM\",\"AEAD_AES_256_GCM\",\"AEAD_AES_256_GCM\",\"AEAD_AES_256_GCM\",\"AEAD_AES_256_GCM\",\"AEAD_AES_256_GCM\",\"AEAD_AES_256_GCM\",\"AEAD_AES_256_GCM\",\"AEAD_AES_256_GCM\",\"AEAD_AES_256_GCM\",\"AEAD_AES_256_GCM\",\"AEAD_AES_256_GCM\",\"AEAD_AES_256_GCM\",\"AEAD_AES_256_GCM\",\"AEAD_AES_256_GCM\",\"AEAD_AES_256_GCM\",\"AEAD_AES_256_GCM\",\"AEAD_AES_256_GCM\"]"

Additional Information

Once AES-256 Encryption has been enabled, the changes go into effect immediately on the next session connection. For more information, see: