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

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

@dconeybe

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

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
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions