I want to get the same Value (PasswordHash) in Python like when I got it in bytes in C#
C# code:
byte [] bytes = Convert.FromBase64String("AQAAAAEAACcQAAAAEAco3n3jFZc+9/IXf5IFpCnLz7Yx/c8lAw+cZ3JvFcWA8xL1Oa90gX/yzB6h6KsUgg==");
Text = BitConverter.ToString(bytes).Replace("-", string.Empty);
//output is 010000000100002710000000100728DE7DE315973EF7F2177F9205A429CBCFB631FDCF25030F9C67726F15C580F312F539AF74817FF2CC1EA1E8AB1482
Python code:
x="AQAAAAEAACcQAAAAEAco3n3jFZc+9/IXf5IFpCnLz7Yx/c8lAw+cZ3JvFcWA8xL1Oa90gX/yzB6h6KsUgg=="
x_bytes = base64.b64decode(x)
y=str(x_bytes)[2:]
print(y.replace('\\x',''))
#output is 01000000010000'100000001007(de}e31597>f7f2177f9205a4)cbcfb61fdcf%030f9cgro15c580f312f59aft817ff2cc1ea1e8ab1482"
Can you please explain the difference?