relay.js
function () {
    return crypto.createHash('sha1')
        .update(Date.now().toString() + Math.random().toString())
        .digest('hex');
}
function () {
    return crypto.createHash('sha1')
        .update(Date.now().toString() + Math.random().toString())
        .digest('hex');
}
function ( ) { return crypto . createHash ( 'sha1' ) . update ( Date . now ( ) . toString ( ) + Math . random ( ) . toString ( ) ) . digest ( 'hex' ) ; }
Create random credentials
@private
@returns {*}
Create random credentials