function parse(m) {
  //console.log(m)
  let M = m.match(/[0-1]{512}/g);

  return M.map((x) => {
    let arr = x.match(/[0-1]{32}/g);
    return arr.map((x) => {
      return parseInt(x, 2);
    });
  });
}
/**
 * Parse
 * @param {string} paddedMessage - A padded message of length N x 512
 * @return {array} An array containing 512 segments, further split in 32-bit segments
 * expressed as numbers
 */
Parse
@param {string} paddedMessage - A padded message of length N x 512
@return {array} An array containing 512 segments, further split in 32-bit segments
expressed as numbers
Parse @param { string } paddedMessage - A padded message of length N x 512 @return { array } An array containing 512 segments further split in 32 - bit segments expressed as numbers
function parse(m) {
  let M = m.match(/[0-1]{512}/g);
  return M.map((x) => {
    let arr = x.match(/[0-1]{32}/g);
    return arr.map((x) => {
      return parseInt(x, 2);
    });
  });
}
function parse ( m ) { let M = m . match ( / [0-1]{512} / g ) ; return M . map ( ( x ) => { let arr = x . match ( / [0-1]{32} / g ) ; return arr . map ( ( x ) => { return parseInt ( x , 2 ) ; } ) ; } ) ; }
Parse
 @param {string} paddedMessage - A padded message of length N x 512
 @return {array} An array containing 512 segments, further split in 32-bit segments
 expressed as numbers
Parse @param { string } paddedMessage - A padded message of length N x 512 @return { array } An array containing 512 segments further split in 32 - bit segments expressed as numbers
//console.log(m)