Changed bit length to 512