src/crypto_browser.js
function(dec) {
      var hex;
      hex = dec.toString(16);
      if (hex.length < 2) {
        hex = "0" + hex;
      }
      return hex;
    }
function(dec) {
      var hex;
      hex = dec.toString(16);
      if (hex.length < 2) {
        hex = "0" + hex;
      }
      return hex;
    }
function ( dec ) { var hex ; hex = dec . toString ( 16 ) ; if ( hex . length < 2 ) { hex = "0" + hex ; } return hex ; }
Turn a decimal into a hexadecimal.
@param {Number} dec The decimal.
@return {String} The hexadecimal.
Turn a decimal into a hexadecimal .