Работа над проектом

This commit is contained in:
Book Pauk
2022-09-25 16:12:54 +07:00
parent 1cfa787e5a
commit 7e5ea30579
5 changed files with 140 additions and 7 deletions

View File

@@ -89,6 +89,10 @@ function intersectSet(arrSet) {
return result;
}
function randomHexString(len) {
return crypto.randomBytes(len).toString('hex')
}
module.exports = {
sleep,
versionText,
@@ -99,4 +103,5 @@ module.exports = {
getFileHash,
getBufHash,
intersectSet,
randomHexString,
};