diff --git a/src/store.rs b/src/store.rs index 20a4322..fd8ebb6 100644 --- a/src/store.rs +++ b/src/store.rs @@ -174,7 +174,7 @@ impl RoomKeyInfo { } } -/// Struct containing the bundle of secrets to fully activate a new devices for +/// Struct containing the bundle of secrets to fully activate a new device for /// end-to-end encryption. #[derive(Debug)] #[wasm_bindgen] @@ -186,7 +186,7 @@ pub struct SecretsBundle { #[derive(Debug)] #[wasm_bindgen(getter_with_clone)] pub struct BackupSecretsBundle { - /// The backup decryption key. + /// The backup decryption key, encoded as unpadded base64. pub key: String, /// The backup version which this backup decryption key is used with. pub backup_version: String, diff --git a/src/vodozemac/ecies.rs b/src/vodozemac/ecies.rs index 28aaf8d..91cfe6e 100644 --- a/src/vodozemac/ecies.rs +++ b/src/vodozemac/ecies.rs @@ -41,7 +41,9 @@ pub struct Ecies { impl Ecies { /// Create a new, random, unestablished ECIES session. /// - /// This method will use the `MATRIX_QR_CODE_LOGIN` info. + /// This method will use the + /// [`MATRIX_QR_CODE_LOGIN`](https://github.com/matrix-org/matrix-spec-proposals/pull/4108) + /// info for domain separation when creating the session. #[wasm_bindgen(constructor)] pub fn new() -> Self { let inner = ecies::Ecies::new();