theking2 / kingsoft-persist-db

implementation of ipersist for database
MIT License
0 stars 0 forks source link

Don-t use uniqid for keys #48

Closed theking2 closed 5 months ago

theking2 commented 5 months ago

They are guessable use this instead:

$bytes = random_bytes(12); var_dump(bin2hex($bytes));