0
votes

when i tried creating checksum for paytm in my UWP app

paytm.CheckSum.generateCheckSumByJson("OYxxxxxxxxxxxx", first_json);

i am getting the following issue :

paytm.exception.CryptoException: 'Exception occurred while generating CheckSum. Could not load type 'System.Security.Cryptography.SHA256Managed' from assembly 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e'.'

1
Not sure, that it's available for UWP, you can have a look at ` Windows.Security.Cryptography.Core` assembly and namespace - Pavel Anikhouski
Included the `` Windows.Security.Cryptography.Core`` but no use - Hari prasad kasavajjala

1 Answers

0
votes

SHA256Managed is part of 'System.Security.Cryptography'. Try installing the nuget package and check if you have the dll's.