{"id":166,"date":"2022-12-27T22:43:11","date_gmt":"2022-12-27T21:43:11","guid":{"rendered":"https:\/\/rising-bits.com\/?page_id=166"},"modified":"2023-04-17T11:41:39","modified_gmt":"2023-04-17T09:41:39","slug":"uuidv4-generator","status":"publish","type":"page","link":"https:\/\/rising-bits.com\/en\/tools\/uuidv4-generator\/","title":{"rendered":"UUIDv4 Generator"},"content":{"rendered":"<pre class=\"wp-block-code\"><code id=\"uuid\"><\/code><\/pre>\n\n\n<p><\/p>\n\n\n<div class=\"wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link wp-element-button\" onclick=\"location.reload()\">Generate new UUIDv4<\/a><\/div>\n\n\n\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link wp-element-button\" onclick=\"copy(document.getElementById('uuid'))\" >To clipboard<\/a><\/div>\n<\/div>\n\n\n<p><\/p>\n\n\n<h2 class=\"wp-block-heading top1em\">What is a UUID?<\/h2>\n\n\n\n<p>A UUID (Universally Unique Identifier) is a 36-character alphanumeric identifier used to give a unique identity to any collection of information within a computer system. Since the probability of duplication is extremely low, UUIDs are a widely used tool for giving a permanent and unique identity to virtually any type of data.<\/p>\n\n\n\n<p>Version 4 UUIDs are probably the easiest to understand and perhaps the most commonly used. These UUIDs are simply randomly generated values (derived from a cryptographically secure generator) that do not contain any namespace, device, or time-based information.<\/p>\n\n\n\n<p>They look like in the above <a href=\"#uuid\" data-type=\"internal\" data-id=\"#uuid\">code block<\/a> .<\/p>\n\n\n\n<p>The only non-random character in this value is the \"4\" in the first position of the third section (after the second hyphen), which means that it is a v4 UUID. Otherwise, every other character is just a random number from 0-9 or a lowercase letter from a-z.<\/p>\n\n\n\n<script type=\"module\">\n  import { v4 } from 'https:\/\/jspm.dev\/uuid'\n  document.getElementById('uuid').textContent = v4()\n<\/script>\n\n\n\n<script>\n    const copy = (node) => navigator.clipboard.writeText(node.textContent)\n<\/script>","protected":false},"excerpt":{"rendered":"<p>Was ist eine UUID? Eine UUID (Universally Unique Identifier) ist eine 36-stellige alphanumerische Kennzeichnung, die dazu dient, jeder Informationssammlung innerhalb [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":158,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"inline_featured_image":false,"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"class_list":["post-166","page","type-page","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/rising-bits.com\/en\/wp-json\/wp\/v2\/pages\/166","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rising-bits.com\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/rising-bits.com\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/rising-bits.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/rising-bits.com\/en\/wp-json\/wp\/v2\/comments?post=166"}],"version-history":[{"count":25,"href":"https:\/\/rising-bits.com\/en\/wp-json\/wp\/v2\/pages\/166\/revisions"}],"predecessor-version":[{"id":651,"href":"https:\/\/rising-bits.com\/en\/wp-json\/wp\/v2\/pages\/166\/revisions\/651"}],"up":[{"embeddable":true,"href":"https:\/\/rising-bits.com\/en\/wp-json\/wp\/v2\/pages\/158"}],"wp:attachment":[{"href":"https:\/\/rising-bits.com\/en\/wp-json\/wp\/v2\/media?parent=166"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}