Why do I get a different SHA1 hash between Powershell and 32bit-Python on a system DLL? Why do I get a different SHA1 hash between Powershell and 32bit-Python on a system DLL? powershell powershell

Why do I get a different SHA1 hash between Powershell and 32bit-Python on a system DLL?


This is happening because you are running a 32bit version of Python and accessing a system dll -- Windows magically redirects you to the 32bit version of the dll, while PowerShell is running as a 64bit process and sees the 64bit version of the DLLs.

I am not sure if I am glad I know this or saddened by it.