Skip to content

fix: use CSPRNG for heartbeat intervals#685

Open
a1denvalu3 wants to merge 1 commit intopermissionlesstech:mainfrom
a1denvalu3:fix-heartbeat-csprng
Open

fix: use CSPRNG for heartbeat intervals#685
a1denvalu3 wants to merge 1 commit intopermissionlesstech:mainfrom
a1denvalu3:fix-heartbeat-csprng

Conversation

@a1denvalu3
Copy link
Contributor

Summary

  • Replaced kotlin.random.Random with SecureRandom().asKotlinRandom() in GeohashViewModel for generating heartbeat intervals.
  • Ensures delays are generated with a Cryptographically Secure Pseudo-Random Number Generator (CSPRNG).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant