Skip to content
This repository was archived by the owner on Aug 30, 2026. It is now read-only.
This repository was archived by the owner on Aug 30, 2026. It is now read-only.

Use SecureRandom instead of Random to reduce the chance of auto-id collisions #155

Description

@dconeybe

To reduce the likelihood of automatically-generated document ID collisions, the usage of java.util.Random should be upgraded to the more cryptographically-secure random number generator java.security.SecureRandom.

FYI, this change has already been made to the Android SDK: firebase/firebase-android-sdk#1250

Activity

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

Metadata

Metadata

Assignees

Labels

🚨This issue needs some love.api: firestoreIssues related to the googleapis/java-firestore API.triage meI really want to be triaged.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions