src/crypto_browser.js
function(length) {
      var bytes, hex;
      if (length == null) {
        length = 32;
      }
      length /= 2;
      bytes = this.randomBytes(length);
      return hex = this.toHex(bytes).toUpperCase();
    }
function(length) {
      var bytes, hex;
      if (length == null) {
        length = 32;
      }
      length /= 2;
      bytes = this.randomBytes(length);
      return hex = this.toHex(bytes).toUpperCase();
    }
function ( length ) { var bytes , hex ; if ( length == null ) { length = 32 ; } length /= 2 ; bytes = this . randomBytes ( length ) ; return hex = this . toHex ( bytes ) . toUpperCase ( ) ; }
Generate a uuid.
@param {Number} [length=32] The length of the UUID.
@return {String} The UUID.
Generate a uuid .