hashes.js
function rstr2binb(input) {
    var i, l = input.length * 8,
      output = Array(input.length >> 2),
      lo = output.length;
    for (i = 0; i < lo; i += 1) {
      output[i] = 0;
    }
    for (i = 0; i < l; i += 8) {
      output[i >> 5] |= (input.charCodeAt(i / 8) & 0xFF) << (24 - i % 32);
    }
    return output;
  }
function rstr2binb(input) {
    var i, l = input.length * 8,
      output = Array(input.length >> 2),
      lo = output.length;
    for (i = 0; i < lo; i += 1) {
      output[i] = 0;
    }
    for (i = 0; i < l; i += 8) {
      output[i >> 5] |= (input.charCodeAt(i / 8) & 0xFF) << (24 - i % 32);
    }
    return output;
  }
function rstr2binb ( input ) { var i , l = input . length * 8 , output = Array ( input . length >> 2 ) , lo = output . length ; for ( i = 0 ; i < lo ; i += 1 ) { output [ i ] = 0 ; } for ( i = 0 ; i < l ; i += 8 ) { output [ i >> 5 ] |= ( input . charCodeAt ( i / 8 ) & 0xFF ) << ( 24 - i % 32 ) ; } return output ; }
Convert a raw string to an array of big-endian words
Characters >255 have their high-byte silently ignored.
Convert a raw string to an array of big - endian words Characters > 255 have their high - byte silently ignored .