Module secret_storage

Source
Expand description

Helpers for implementing the Secrets Storage mechanism from the Matrix spec.

Structs§

AesHmacSha2EncryptedData
Encrypted data for the AES-CTR/HMAC-SHA-256 secret storage algorithm.
MacError
Error type for when the Output of a Mac is not equal to the expected value.
SecretStorageKey
A secret storage key which can be used to store encrypted data in the user’s account data as defined in the spec.

Enums§

DecodeError
Error type for the decoding of a SecretStorageKey.