Files
one-knowledge/github-knowledge/uncategorised.md
T

19 lines
635 B
Markdown

---
title: Uncategorised
created: 2018-06-12
updated: 2018-06-12
type: summary
tags: [tech, reference]
external: https://github.com/wahyd4/knowledge/blob/master/categories/uncategorised.md
---
# Uncategorised
## Some interesting questions
### UUID or UUID4
* `UUID` use current time and your computer MAC address to generate the id
* `UUID4` which is much simpler. Each and every bit of a UUID v4 is generated randomly and with no inherent logic. With the sheer number of possible combinations (2^128), it would be almost impossible to generate a duplicate unless you are generating trillions of IDs every second, for many years.