I want to generate guids to insert into a SQLite database (i.e. no support from the db itself). However, I would like to have control over certain properties:
- Orderedness for generating increasing guid values.
- Computer independence. The db is public and may/may not want guids to allow someone to trace data back to a specific machine.
- 'Enough' randomness. The guids are keys in the db which is going to be merged with a lot of other dbs and can get quite large, meaning that faking a guid like many algorithms do is no good.
- I can deal with using system specific APIs but please link both Windows and Linux functions, and something like SQLite is preferred, where I can just use code someone else wrote.
- I would also prefer code which is OK to use in a commercial application.