encryptionAlgorithm property

String? get encryptionAlgorithm

Returns the encryption algorithm. Currently only m.megolm.v1.aes-sha2 is supported. Returns null if there is no encryption algorithm.

Implementation

String? get encryptionAlgorithm =>
    getState(EventTypes.Encryption)?.parsedRoomEncryptionContent.algorithm;