mirror of
https://github.com/koush/scrypted.git
synced 2026-04-30 11:50:25 +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');
|
|
} |