feat: Implement message encryption in database to enhance security

This commit is contained in:
k1ngsterr1
2026-01-13 16:21:55 +05:00
parent 42b1cdd79a
commit d2eec2ab61
6 changed files with 354 additions and 23 deletions

View File

@@ -88,7 +88,7 @@ data class DialogEntity(
val opponentUsername: String = "", // Username собеседника
@ColumnInfo(name = "last_message")
val lastMessage: String = "", // Последнее сообщение (текст)
val lastMessage: String = "", // 🔒 Последнее сообщение (зашифрованное для превью)
@ColumnInfo(name = "last_message_timestamp")
val lastMessageTimestamp: Long = 0, // Timestamp последнего сообщения