title: how do I convert Integer to 64 bit big endian integer in python
body: <p>Trying to recreate SHA256 hashing from the pseudocode on the wiki and it says to convert an integer to a 64 bit big endian integer.</p>
  <p>I can't find how to do this anywhere online and when I look up the step by step process of how SHA256 works it doesn't make sense to me when it gets to that part as it seems they are just using a 7 bit unsigned binary integer in their example: <a href="https://qvault.io/cryptography/how-sha-2-works-step-by-step-sha-256/" rel="nofollow noreferrer">https://qvault.io/cryptography/how-sha-2-works-step-by-step-sha-256/</a></p>
  <p>can anyone help?</p>