Skip to content

Commit 3ac03d9

Browse files
committed
Add warning for IdGenerator
1 parent 0346857 commit 3ac03d9

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

plume-db/src/main/java/com/coreoz/plume/db/utils/IdGenerator.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@
55

66
/**
77
* Handle long identifiers generation that should be unique.
8+
* <p>
9+
* <strong>Security Warning:</strong> This generator is not cryptographically secure.
10+
* It is designed for generating database primary keys or internal identifiers.
11+
* It MUST NOT be used to generate security tokens, passwords, session IDs, or any
12+
* value that requires cryptographic unpredictability.
813
*
914
* @author <a href="mike@baroukh.com">Mike Baroukh</a>
1015
*/

0 commit comments

Comments
 (0)