I have a class file which contains a function to hash an input string.
using System; using System.Security.Cryptography; using System.Linq; using System.Text; u
Are you trying to do this?
HashingSystem hs = new HashingSystem(); hs.sha256("Hello World"); //This wont work as static methods cannot be called via instances
Use the below way instead
HashingSystem.sha256("Hello world");//Calling directly via class