crypt.js
function(bytes) {
      for (var hex = [], i = 0; i < bytes.length; i++) {
        hex.push((bytes[i] >>> 4).toString(16));
        hex.push((bytes[i] & 0xF).toString(16));
      }
      return hex.join('');
    }
function(bytes) {
      for (var hex = [], i = 0; i < bytes.length; i++) {
        hex.push((bytes[i] >>> 4).toString(16));
        hex.push((bytes[i] & 0xF).toString(16));
      }
      return hex.join('');
    }
function ( bytes ) { for ( var hex = [ ] , i = 0 ; i < bytes . length ; i ++ ) { hex . push ( ( bytes [ i ] >>> 4 ) . toString ( 16 ) ) ; hex . push ( ( bytes [ i ] & 0xF ) . toString ( 16 ) ) ; } return hex . join ( '' ) ; }
Convert a byte array to a hex string
Convert a byte array to a hex string