Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F4502747
uuid.min.js
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
368 B
Referenced Files
None
Subscribers
None
uuid.min.js
View Options
function
generateUUID
(){
const
o
=
crypto
.
randomBytes
(
16
);
o
[
6
]
=
o
[
6
]
&
15
|
64
,
o
[
8
]
=
o
[
8
]
&
63
|
128
;
const
n
=
function
(
c
){
const
t
=
o
[
c
],
e
=
"0123456789abcdef"
,
s
=
t
>>
4
&
15
,
r
=
t
&
15
;
return
e
[
s
]
+
e
[
r
]};
return
n
(
0
)
+
n
(
1
)
+
n
(
2
)
+
n
(
3
)
+
"-"
+
n
(
4
)
+
n
(
5
)
+
"-"
+
n
(
6
)
+
n
(
7
)
+
"-"
+
n
(
8
)
+
n
(
9
)
+
"-"
+
n
(
10
)
+
n
(
11
)
+
n
(
12
)
+
n
(
13
)
+
n
(
14
)
+
n
(
15
)}
console
.
log
(
"builtin:"
,
crypto
.
randomUUID
()),
console
.
log
(
"engine:"
,
generateUUID
());
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, May 3, 9:14 AM (1 d, 9 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
517933
Default Alt Text
uuid.min.js (368 B)
Attached To
Mode
rANT Ant
Attached
Detach File
Event Timeline
Log In to Comment