Use paddedHash instead of hexHash for calculating M1