public/script/control_connection.js
// reasonably unique identifier to specifically refer to it.
reasonably unique identifier to specifically refer to it.
reasonably unique identifier to specifically refer to it .
function generateMessageId() {
    const values = new Uint32Array(8);
    window.crypto.getRandomValues(values);
    let messageId = '';
    for (let i = 0; i < values.length; ++i)
        messageId += (i < 2 || i > 5 ? '' : '-') + values[i].toString(16).slice(-4);
    return messageId;
}
function generateMessageId ( ) { const values = new Uint32Array ( 8 ) ; window . crypto . getRandomValues ( values ) ; let messageId = '' ; for ( let i = 0 ; i < values . length ; ++ i ) messageId += ( i < 2 || i > 5 ? '' : '-' ) + values [ i ] . toString ( 16 ) . slice ( - 4 ) ; return messageId ; }
reasonably unique identifier to specifically refer to it.
reasonably unique identifier to specifically refer to it .