code: function str2binb(str)
  {
    var bin = [];
    var mask = 255;
    for (var i = 0; i < str.length * 8; i += 8)
    {
      bin[i>>5] |= (str.charCodeAt(i / 8) & mask) << (24 - i%32);
    }
    return bin;
  }
docs: /*
  Convert an 8-bit or 16-bit string to an array of big-endian words
  In 8-bit function, characters >255 have their hi-byte silently ignored.