UNPKG
check-ethereum-scanner
Version:
latest (1.0.2)
1.0.2
1.0.1
1.0.0
Safety checks for new Ethereum tokens
check-ethereum-scanner
/
Ethereum-Renounced-Contract-Scanner
/
node_modules
/
form-data-encoder
/
lib
/
esm
/
util
/
createBoundary.js
11 lines
(10 loc)
•
263 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
const
alphabet =
"abcdefghijklmnopqrstuvwxyz0123456789"
;
function
createBoundary
(
) {
let
size =
16
;
let
res =
""
;
while
(size--) { res += alphabet[(
Math
.
random
() * alphabet.
length
) <<
0
]; }
return
res; }
export
default
createBoundary;