An encryption algorithm to be used to encrypt messages sent to a room.

Enumeration Members

MegolmV1AesSha2: 1

Megolm version 1 using AES-256 and SHA-256.

OlmV1Curve25519AesSha2: 0

Olm version 1 using Curve25519, AES-256, and SHA-256.

Unknown: 2

Unsupported algorithm.

Applications should ignore this value if it is received, and should never set it.