We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 037b85b commit c67dfd2Copy full SHA for c67dfd2
library/src/main/java/org/xmtp/android/library/Conversations.kt
@@ -324,8 +324,9 @@ data class Conversations(
324
(thirtyDayPeriodsSinceEpoch - 1..thirtyDayPeriodsSinceEpoch + 1).forEach { value ->
325
val info = "$value-${client.address}"
326
val hmacKey =
327
- Crypto.calculateMac(
+ Crypto.deriveKey(
328
conversation.keyMaterial!!,
329
+ ByteArray(0),
330
info.toByteStringUtf8().toByteArray()
331
)
332
val hmacKeyData = HmacKeyData.newBuilder()
0 commit comments