The private part of the backup key, the one used for recovery.

Properties

megolmV1PublicKey: MegolmV1BackupKey

Get the public part of the backup key.

Methods

  • Try to decrypt a message that was encrypted using the public part of the backup key.

    Parameters

    • ephemeral_key: string
    • mac: string
    • ciphertext: string

    Returns string

  • Returns void

  • Convert the backup decryption key to a base 64 encoded string.

    Returns string

  • Try to create a [BackupDecryptionKey] from a base 64 encoded string.

    Parameters

    • key: string

    Returns BackupDecryptionKey