mirror of
https://github.com/koush/scrypted.git
synced 2026-09-18 01:30:39 +01:00
5 lines
117 B
TypeScript
5 lines
117 B
TypeScript
import crypto from 'crypto';
|
|
|
|
export function createMessageId() {
|
|
return crypto.randomBytes(8).toString('hex');
|
|
} |