Added hashString() which simply calls mhash() function with SHA256 hash function